View Full Version : Simple php that receives url and displays those urls on the same page
asim1
08-11-2011, 12:37 PM
Need simple php that receives url submitted by user and displays them on that same page and the url shows the time of submitting and a click counter on those links and the older links will be deleted some time or limited no. of links can be displayed like 100-200 the older ones will be deleted.
Like a link exchange system
are you trying to write a script like this, yourself, looking for an existing script (http://www.dynamicdrive.com/forums/forumdisplay.php?f=23), or asking for someone to write a script for you (http://www.dynamicdrive.com/forums/forumdisplay.php?f=30)?
are you using a database?
do you need to check the links and make sure they're valid URLs?
do you need to make sure they're not dangerous (linking to malware, etc.)?
JShor
08-11-2011, 05:42 PM
Run-on sentences drive me nuts.
james438
08-12-2011, 01:08 AM
Pffft! Grammar, who needs it? ;)
asim1
08-14-2011, 10:06 PM
sorry for my bad English.
Here are some answers to your questions.
i don't want to use any database.
i will put some conditions to that link so that malware links are not there.
i want that all links to be post in php and they are retrieved on that same page.
Pls provide me any script or idea??
are you trying to write this script yourself?
are you familiar with processing forms with php (http://www.php.net/manual/en/tutorial.forms.php) and the filesystem functions (http://www.php.net/manual/en/ref.filesystem.php)?
this sort of thing would be much easier with a database; but it is possible using a flat text file.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.