No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
11 Posted Topics
Re: Personally, I'd literally just check for each of these in turn and update the string appropriately. e.g. [CODE] $url = $_POST['site']; if(strtolower(substr($url,0,7))=="http://"){ $url = substr($url,7); } if(strtolower(substr($url,0,4))=="www."){ $url = substr($url,4); } if(strtolower(substr($url,-1,1))=="/"){ $url = substr($url,0,-1); } [/CODE] | |
Re: The script seems to require the time in a different format to that provided. [CODE]TargetDate = "12/31/2020 5:00 AM";[/CODE] So presumably you want PHP of: [CODE]$expires = date('m/d/Y g:i A',$expires);[/CODE] | |
Re: A session varaible is heard on the server, and is not able to be accessed by another domain for security. There is however nothing to stop you passing this to another domain by means of a GET or POST method. e.g. send a user to: [url]http://www.anotherdomain.com?myvariable=info[/url] You can then get … | |
Re: The code you've included in your post seems to just generate a random number and display it to the user... i.e. it's not giving real information at all... I would definitely not recommend lying to your userbase (which is effectively what that script does). In terms of the link you … | |
Re: You can just download it from php.net as Windows binaries. But assuming you also want MySQL and Apache, it maybe easiest to install something like WAMP. There are several similar free products out there, and they install Apache, MySQL and PHP on Windows and give you a basic interface for … | |
Re: Hi whiteyoh, Must admit, it looks fine to me too... presumably table name, column name or similar is the issue. Try outputing the error by adding a row: [CODE]echo "Error " . mysql_errno($link) . ": " . mysql_error($link);[/CODE] | |
Re: [QUOTE=sampson;804024]I have an older computer that I want to give to a friend. It has a valid XP OS but I have no install discs. Is it possible to reformat this HD and keep this same OS. I just need to make sure any other info is off this HD.[/QUOTE] … | |
Re: For Windows XP: Control Panel --> User Accounts For Filemaker, see [url]http://forum-en.filemaker.com/fm/board/message?board.id=us-fms&thread.id=196[/url] | |
Re: Hi Ulrik04, Not sure I understand why you are trying to redirect people to a page that start "index.php#" ... do you mean to add as variable on index.php: "index.php?" Would be good if you could explain what you are trying to achieve, preferably with an example e.g. "http://www.mydomain.com/1.php should … | |
Re: Hi Darco, I assume you're after the PHP function you'd use for checking whether a server is up (the rest will just be a database of the sites you're monitoring). Personally, I'd probably about it with a socket_connect call, that should be able to confirm a connection existing to an … | |
Re: [QUOTE=Aamit;748686]here you can use md5 encrypted password.... [code] when you use md5 you got this value in database admin= 21232f297a57a5a743894a0e4a801fc3 ADMIN= 73acd9a5972130b75066c82595a1fae3 AdMiN= 2714cba6c6d58e587565cf4e6b275078 [/code] This is very important, so good on Aamit for pointing this out... not sure if people have taken it onboard as there are no responses! … |
The End.