Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by voip03

  1. Remove forward slashes , you can use ltrim preg_replace() substr()
  2. http://www.php.net/manual/en/function.htmlspecialchars.php
  3. Make sure you exit after a PHP Header Location http://techcosupport.com/press/make-sure-you-exit-after-a-php-header-location/ your code // kill form if spammers use the siteURL field if ( $_GET['url'] != '' || $_GET['firstname'] == 'Your Name' || $_GET['businessemail'] == 'Email Address' ) {header("Location: http://www.openpotion.com/new/error");}
  4. To avoid the header error, you can use this code. <? php /* "Warning: Cannot modify header information - headers already sent by " To avoid the header error , give value zero to $mosConfig_locale_debug = 0; $mosConfig_locale_use_gettext = 0; */ $mosConfig_locale_debug = 0; $mosConfig_locale_use_gettext = 0; ob_start();
  5. Please read this article http://www.vnoel.com/PHP/Adding-Parameters-To-A-URL-in-PHP.html
  6. This will help you http://www.sitepoint.com/udp-portscanning-php/
  7. For that you need a database. like MySql
  8. Can you give me more details about what you are trying to do? output will help .
  9. $insertData = "INSERT INTO 'gallery' (image, memberid, caption) VALUES ('$newFileName', '$member_id', 'caption')"; $res = mysql_query($insertData); if(!$res){ die(" Could not query the database : <br/>". mysql_error() ); }
  10. What is the problem? PS Please post the code inside the code tag.
  11. You can change the file name - your method is fine. That file name can be updated in DB table.
  12. Have a look at ' PHP 5 advanced WWW : visual quickpro guide. Try google 'advanced php tutorial' and i am sure you will get the answer.
  13. http://www.phpfreaks.com/tutorial/basic-pagination
  14. I am not sure what you are asking? can you plst the code in ina code tag.
  15. http://www.webcheatsheet.com/PHP/file_upload.php
  16. you haven't name the submit button. <input type="submit" value="Upload" name="submit"/>
  17. http://www.phpfreaks.com/forums/index.php?topic=37442.0
  18. Your Code $dest = "images/{$id}.jpg"; Change it to $dest = "images/"; PS: Please code tag for posting code.
  19. echo "<a href='a.php?id=".$info['id']."'>hello</a>";
  20. The UNION operator in MySQL can help you to compare data of two tables of two different databases http://www.tizag.com/sqlTutorial/sqlunion.php
  21. Check this link http://php.net/manual/en/function.imagecreate.php
  • 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.