Jump to content
xisto Community

eddygalvin

Members
  • Content Count

    44
  • Joined

  • Last visited

About eddygalvin

  • Rank
    Newbie [Level 3]
  1. hello, here is a script that was written to connect with a desktop java application. ---its a script that sends request from the desktop application to the web server and transfer the results back to the desktop application. it is a sort of relay script. please i need explanation that will help understand what the script is actually doing and how it works. any resource on php desktop applications connections would be of help.
  2. "So please you have to check with your FTP client your files or your script and try to research about the posibility of a DOS attack althougth I doubt about it because now almost all the hosting providers have DOS protection and some providers don?t have this feature in general but they offer for a few bucks this feature for some clients that want to be protected from a DOS attack.Dos attack? i know nothing about that but i am going to find out more about it.i checked the access log and found that all the bandwidth was only used by the http traffic.this was as a result of the proxy script that was running on the web server. the proxy script sucked up all the bandwidth.------------------------------------------------------- i have been able to find some work around it. doing some tweaking on the script.this will hopefully reduce the amount of bandwidth used.-------------------------------------------------------
  3. ---------------------------------- ---------------------------------- has anyone encountered this kind of challenge previously? help, these my recripts are eating up the bandwidth.
  4. i have checked the ip log i see very large spikes followed by periods of low transfer. but i cant find out the files that are being accessed most frequently. please how do i check the amount of bandwidth used by those files. thanks.
  5. i have just contacted the host provider about the issue.i checked the logs and the traffic consumption and all i see is just HTTP consumption for two day and 7gig exhausted.i think something is going wrong.
  6. hello, i have a project to setup a relay sript this will transfer infomation sent for my desktop appliction connect to other servers.but i have observed that the badwidth usage of my webserver has tremendiously increased. i would like to include a php code that will restrict the bandwidth usage of the php scripts relay scripts installed on the webserver, but i dont know if such php code exist, i have tried other way to handle this problem also tried reducing the php scrips execution time. i think there is a more efficient way to handle this.please i need help handling this issue. i also like to include automated action(task) if any of the scrips exceeds the bandwidth set.
  7. hello,i recently setup a hosting account to test run a proxy with my desktop application. i signed up for a 10gig monthly bandwidth.But i have noticed something about the bandwidth consuption has been relatively high. more than 7gig in less than 48 hours. i would like to know what could have caused the increase in bandwidth consumption. thanks
  8. hello i have tried downloading XDEBUGGER please i need help on how to install it. i use windows xp. all that is contained in the software is some zipped file. do i need to install the binaries on my system or on the server?.
  9. thanks the error has been resolved and the script is working perfectly well.
  10. thanks, but the value of the sms colume is set to 1 on the database. i think this aspect of the scripts generates the error "$recipients = explode(",", $to);$cost = count($recipients) * $balance; if ($cost > $left) { $error[] = 'insufficient units to send sms.'; }"
  11. hello need a bit of help on this code, it give an 'insufficient units to send sms.' <?include "igwt.php";include "mysql.php";include "../../api/smsapi.php";session_start(); $message = $_POST[message];$to = $_POST[receiver];$from = $_POST[from];/* if (strlen($to) == 10){$error[] = "You have to specify the country code, too. Eg. 13333333333";} */if ($_SESSION['username'] == ''){include "loginerror.php";die;exit;break;}$check = mysql_query("SELECT name, firstname, active, sms FROM users WHERE username = '$username'");$row = mysql_fetch_row($check); $_SESSION['name'] = $row[0];$_SESSION['firstname'] = $row[1]; $_SESSION['active'] = $row[2];$_SESSION['sms'] = $row[3];$_SESSION['username'] = $username;$left = $_SESSION['sms'];$on = $_SESSION['active']; // check the mobile number$atom = '[-a-z!#$%&\'*+/=?^_`{|}~]';if (eregi($atom, $to)) { $error[] = 'Invalid mobile phone number';}if ($left == '0'){$error[] = 'Not enough SMS credits to deliver this message.';}if (empty ($to)) { $error[] = 'You not specify destination address (TO)!'; }if (empty ($from)) { $error[] = 'You have not specified any sender id!'; }if (strlen ($message) > 465) { $error[] = 'Your message is too long'; }if ($on == 'no'){$error[] = 'Your account status is not active.';}if ((strlen ($message)) <= 160) { $balance = 1; } else { //greater than 160 $count = ((strlen ($message)) / 153); if ($count <= 3 && $count >2) { $balance = 3; } if ($count <= 2 && $count >1) { $balance = 2; } if ($count <= 4 && $count >3) { $balance = 4; } } $recipients = explode(",", $to);$cost = count($recipients) * $balance; if ($cost > $left) { $error[] = 'insufficient units to send sms.'; } if (!$error){mysql_query("UPDATE users SET sms = sms-'$cost' WHERE username = '$username'");$tudei = date('Y-m-d');mysql_query("INSERT INTO sms (username, message, date, tono, fromno) VALUES('".$username."','".$message."','".$tudei."','".$to."','".$from."')") or die(mysql_error());$mysms = new sms();$results = $mysms->send($to,$from,$message);}echo $sus;?> Notice from rvalkass: All code needs to have code tags around it.
  12. hello my cents has not updated for some time now at least more than 48 hours? may be mycent is not working or there is something wrong.
  13. hello i would like to get more tips on the best trading strategies, having to make the decision between online EA trading or manual trading? i trading manually has not realy been easy, it would be needfull if you can share your trading strategies as i would like to learn some more.
  14. hello i just started php and i would like to include a signup form to my site. i would need to some ready made scripts to get a jump start, form by html website, any help will be greatly appreciate thank you.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.