Page 1 of 1
problem with form.html
Posted: Sun Jul 10, 2005 12:32 pm
by ROmeNYRR
Version of script: latest
Version of PHP: 4.1.2
Hosting company: atlantic.net
whenever i tree to add a link from form.html and i hit submit, the page just goes blank. i dont recieve an update of links on the admin page. ive tried many different things but everytime i hit submit ijust get a blank page on addlink.php.. help

Posted: Sun Jul 10, 2005 1:08 pm
by Klemen
URL of your script:
Regards
Posted: Sun Jul 10, 2005 9:48 pm
by rome
http://roblawproductions.com/links/links.php. i love the simplicity of your prog, but i really need that form

. help

Posted: Sun Jul 10, 2005 10:49 pm
by Klemen
Hi,
The addlink.php works ok until the script tries to open the URL to check for the reciprocal link. Your hosting company probably has "allow_url_fopen" disabled in the PHP settings and thus LinkMan can't open remote URLs to check for reciprocal link.
To be sure you can upload this file to your LinkMan folder (the PHP file inside the Zip file):
http://www.phpjunkyard.com/extras/phpinfo.zip
Open that file in your browser and check what is the status of allow_url_fopen variable. It is probably off.
If it IS off you won't be able to get LinkMan (or another similar script) working on your server as I doubt your host will be willing to enable it because of you. Solution? Get a better hosting company
Regards
Posted: Sun Jul 10, 2005 11:52 pm
by rome
thanks for the reply... i think i have that command on, but i dont know whats up with it

.. let me know what you think
http://roblawproductions.com/phpinfo.php
Posted: Mon Jul 11, 2005 9:33 am
by Klemen
Hi,
Yes, you have that command on.
Ahhh, sorry, NOW I know what is wrong even though I could have known from the beginning. Your PHP is version 4.1.2 (you told me, but I didn't put much attention to it) which is an old version from February 2002. LinkMan formally requires PHP version 4.3.x as older versions don't have all the functions LinkMan requires (for example file_get_contents()).
If you run the server you should install the latest stable version (4.3.11 at the moment) as it has more functions and many bugs fixed. If you don't run it you should contact your hosting company any ask them to update their PHP installation. They should do it for free (I wonder why they haven't already).
PHP 4.3.11 can be downloaded from:
http://www.php.net/downloads.php
Once you have PHP 4.3.x LinkMan should work without a problem, just make sure you keep the allow_url_fopen enabled.
Hope this helps.
wow, thanks
Posted: Fri Aug 05, 2005 3:39 pm
by Chad
I also have this exact problem.
I am able to add links manually thru the admin, but the addlinks.php doesn't work because of this.
I just got off the phone with my hosting company, and the girl took down the suggestion but didn't say they'd upgrade.
~ anyway, I'm glad this post was here ... I was about to tear my hair out.
Chad
Posted: Fri Aug 05, 2005 9:10 pm
by Klemen
Tell your hosting company that having such an old version is not secure and very lazy of them to say the least. They SHOULD update it without hesitating, if they don't I suggest you find a new host.