Search found 5 matches

by UnknownOne
Sun Jul 26, 2009 11:40 am
Forum: PHP - Code
Topic: Is there a script which cleans up source code?
Replies: 5
Views: 287

Re: Is there a script which cleans up source code?

I actually use a site to clean up a few html pages I use/save when browsing.

Code: Select all

http://www.iwebtool.com/html_optimizer
It's pretty awesome. You can also look for "tiny" or something. I've completely forgotten what it's called but I'm sure it's "tiny" html optimizer.
by UnknownOne
Fri Jul 24, 2009 8:08 am
Forum: PHP - Code
Topic: how to export database in PHP
Replies: 4
Views: 282

Re: how to export database in PHP

You need to declare the following PHP variables for the script to work correctly and modular. $host - MySQL server (usualy localhost) $user - MySQL user account password $pass - MySQL database name $db - MySQL user account $table - MySQL database table you want to export $file - The filename you wil...
by UnknownOne
Fri Jul 24, 2009 6:47 am
Forum: PHP - Code
Topic: Problem with url variable passing..
Replies: 7
Views: 203

Re: Problem with url variable passing..

Not sure you can have greek text in the url.

Visit

Code: Select all

http://www.w3schools.com/tags/ref_ascii.asp
for more info. You may be able to use ascii format.

OR you can check here, even better. Greek chars as well.

Code: Select all

http://www.w3schools.com/tags/ref_symbols.asp
by UnknownOne
Fri Jul 24, 2009 6:43 am
Forum: PHP - Code
Topic: php query string
Replies: 14
Views: 668

Re: php query string

It must be because number inputs have been set to be ignored/dismissed. This can be done by limiting a certain string using a certain function. <-Wierd sentence. xD   $_GET['id'] = abs(@intval($_GET['id'])); if(!$_GET['id']) { echo "Either you didn't specify an ID, or you attempted to use an in...
by UnknownOne
Thu Jul 23, 2009 9:03 am
Forum: PHP - Code
Topic: A php function for removing "\" from a sentence ??
Replies: 3
Views: 719

Re: A php function for removing "\" from a sentence ??

Could we not use the str_replace() function here? I've only just started off and not sure how exactly to get the str_replace function working but I should do with a little research. Something like: str_replace("/", "", "the location?");  //First quote should identify wh...