Jump to content

bob2006

Members
  • Posts

    62
  • Joined

  • Last visited

    Never

Everything posted by bob2006

  1. thank you but ive been trying that it keep s coming up with Parse error: syntax error, unexpected $end in /home/citrush/public_html/freehosting/test/test3.php on line 15 not try to have any help me with it just need some ideas
  2. hello who do i ran i list of ever user in the data bass in a php script
  3. thanks it help
  4. $check=mysql_query("SELECT * FROM `admin` WHERE userid = '$id'")or die(mysql_error()); $Numb=mysql_num_rows($check); if($CNumb == '1')  { echo("<a href='http://www.freehosting.citrushostingplus.com/admin/?sid=$sid'>Go back</a> username is taken!"); }
  5. Warning: fopen(http://[email protected]:2082/frontend/x2/mail/doaddpop.html?email=newuser&domain=citrushostin.com&password=hispassword&quota=20) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.0 401 Access Denied Still Working in /home/citrush/public_html/email/cpemail.php on line 71 Cannot create email account. Possible reasons: "fopen" function allowed on your server, PHP is running in SAFE mode
  6. how do i tell if php is runnimg in safe mode please help
  7. tahnk you
  8. hello i need help with the include in my php script <?php   SESSION_START(); header("Cache-control:private"); INCLUDE '/webmaster/functions.php'; if($_GET['act'] == "") { if($_SESSION['username'] && $_SESSION['password']) { i need the include to go to a differnt dic then i have the page the page is in one and the fuctions is in a different one who do i do this
  9. thank you
  10. Hello I have a scrpits that set up email account with cpanel but the virbale are not carring over here are the scripts <?php echo("<table align='center'> <form action=' cpemail.php' method='POST'> <tr><td>UserName:</td><td><input type='text' name='user'></td></tr> <tr><td>Password:</td><td><input type='password' name='pass'></td></tr> <tr><td><input type='submit' name='submit' value='Submit'></td></tr> </form> </table>"); ?> and <?php ############################################################### # cPanel Email Account Creator 1.0 ############################################################### # Visit http://www.zubrag.com/scripts/ for updates ############################################################### # You can pass following parameters in calling URL. They will # override those specified below. # user - new email user # pass - password # domain - email domain # quota - email quota, Mb # Example: cpemail.php?user=newuser&pass=password&quota=50 ############################################################### // cPanel info $cpuser = '****'; // cPanel username $cppass = '****'; // cPanel password $cpdomain = 'bob.tdsnet.org'; // cPanel domain or IP $cpskin = 'x2';  // cPanel skin. Mostly x or x2. // See following URL to know how to determine your cPanel skin // http://www.zubrag.com/articles/determine-cpanel-skin.php // Default email info for new email accounts // These will only be used if not passed via URL $euser = 'user'; // email username (without @ and domain) $epass = 'pass'; // email password $edomain = 'bob.tdsnet.org'; // email domain (usually same as cPanel domain above) $equota = 20; // amount of space in megabytes ############################################################### # END OF SETTINGS ############################################################### function getVar($name, $def = '') {   if (isset($_GET[$name]))     return $_GET[$name];   else     return $def; } // check if overrides passed $euser = getVar('user', $euser); $epass = getVar('pass', $epass); $edomain = getVar('domain', $edomain); $equota = getVar('quota', $equota); // Create email account $f = fopen ("http://$cpuser:$cppass@$cpdomain:2082/frontend/$cpskin/mail/doaddpop.html?email=$euser&domain=$edomain&password=$epass&quota=$equota", "r"); if (!$f) {   die('Cannot create email account. Possible reasons: "fopen" function allowed on your server, PHP is running in SAFE mode'); } // Check result while (!feof ($f)) {   $line = fgets ($f, 1024);   if (ereg ("already exists!", $line, $out)) {     die('Such email account already exists.');   } } fclose($f); echo "Email account created."; ?> please help
  11. u need to go in to yr control panel and Cannot write to the file '../conf_global.php'. Please CHMOD to 0777. change permission on this file ·Cannot write to the file '../cache'. Please CHMOD to 0777. this folder ·Cannot write to the file '../cache/lang_cache/'. Please CHMOD to 0777.this folder ·Cannot write to the file '../cache/skin_cache/'. Please CHMOD to 0777 and this folder
  12. how would i put that in a php script please help
×
×
  • Create New...

Important Information

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.