Jump to content

SamDOD

Members
  • Posts

    35
  • Joined

  • Last visited

    Never

Everything posted by SamDOD

  1. If that is true, then how does it create the tables in the database when i run the installer. not to mention it says "localhost" when i am using an ip address to link to the database? I read about editing the php.ini file to allow the extension php_mysql.dll but i am running this on a vortech hosting server and am not sure how to accomplish this. Any suggestions? Thank you for all your help.
  2. I downloaded a PHP/Ajax chat room script. It works great when i run it localhost and use PHP 5. I need to run it on a server now that is running PHP 4. I believe it has to do with this one line. But i could be wrong. Line 26: mysql_connect($a_base['dbhost'], $a_base['dbuser'], $a_base['dbpass']); Everything sets up correctly in the install, in that it creates its tables in the Database i create. so it does connect to that database as one point. i get one error and it wont go any further. PHP Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in C:\wchat\functionz\columns.php on line 26 Can anyone help? Thank you very much
  3. what about libcurl extension, is that better than allow_url_fopen...
  4. would you happen to have an example of using these elements in this way?
  5. is there a way, and how, to have php take an image from a website, rename it and save it to your own server? Thank you for your time...
  6. could you possibly give me an example of this? As it pertains to gathering the information in a <table with an ID and getting the <a tag href elemnts and the <img tag src that are in the <a and </a tags, from it?
  7. How do I have this code bit look for the specific <table id="something"> in side the link and get the content only out of that table and turn the <a tags that are there into var?
  8. The issue i have is that it is not a page i am hosting and there for dont have acces too... I use the page regularly and am able to do things that effct the data and i want a way to use PHP to read the data so that i can redisplay it in a differant manner.
  9. Is there a way to use PHP to read a specific link and extract certain information from it. For example... To have the script read a website and to look for <table Id="somthing"> and get the <a tag and take the link and information under it? Does this make sense... is it possible... pls help! Thank you for your help
  10. I have a PHP form and it works fine... I want to use the same form for a photo site that allows ppl to buy prints. Am wondering if there is a way, in a text box, to have the PHP count there items they input separated by commas? Meaning if they inputted "image1,image2,image3" the PHP would count 3 items. Then place that number as a variable so that I can show them how much it will cost for the items? Is this possible? or is there a better way? Thank you for your 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.