Hello,
Can someone here give me a glue how to do the following. I guess I need to
use regular expressions here. I have absolutely zero experience with regular
expressions. (if there's another way to do this I don't mind. I jus need to
get this done somehow :)
I need to strip all characters fro
Hello Roman,
Could you specify the functionality of your script a bit please. (How it
works)
I forgot to mention that this part:
',
is not always the same. The image properties can vary.
Thanks
-Will
"Roman Neuhauser" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
># [EMAIL PR
Hello,
How can I sort an array like this so that it would be ASC ordered by the [1]
key in subarrays? I need to maintain only the subarray key - value pairs.
(Do I make sense?)
Array
(
[0] => Array
(
[0] => Logo
[1] => NameC
[2] => Home
Hello,
I need some advice on how to learn Javascript and PHP interaction. Any good
tutorials on the web would be most welcome. I particulary need to learn how
to pass JS user input/choices to PHP.
My current problem is how to ask user confirmation over his actions on a web
form after POST. "Ar
Hello,
I just noticed when I published a new menu system that it does NOT work in
the ISP hosted server. However it works ok on my test server. Here's the
test I have done all in same client machine (=unchanged browser settings):
My test server:
IE6 & 7->OK
Opera 9.02 -> OK
Firefox ->OK
IS
If there's an opera expert around could you please check out the following
link:
http://www.fcviikingit.com/new/testimenu.php
This script contacts a DB and prints out the results as javascript to the
client browser. As I mentioned earlier It works ok with IE, FF, Netscape but
not with Opera. H
ShitSHitSHIT!!!
I had javascript disabled in Opera. The browsed just ignored it's own
settings while brosing my server??? Feeling stopid.
:O
-W
(Just costed me 3 hours)
""William Stokes"" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> Tha
when the files are in my test server...
-W
"Frank Arensmeier" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
7 feb 2007 kl. 09.50 skrev William Stokes:
> If there's an opera expert around could you please check out the
> following
> link:
>
> htt
Hi people,
Is there a way to detect the city of a person based on the IP address? I
mean something like ip2nation http://www.ip2nation.com/ but for cities
so I can use it in my PHP web application.
Thanks for any help you can give me,
-William
--
PHP General Mailing List (http://www.php.net
Hi,
Thanks to all of you who helped me out. I think this one is the best
option for now, it even has an API for PHP 4 and another one for PHP 5.
PHP 4: http://www.maxmind.com/download/geoip/api/php/
PHP 5: http://pear.php.net/package/Net_GeoIP/
Cheers,
-William
El mié, 21-03-2007 a las 14
I am worried about is how accurate is it... I'll check
soon and post my comments later.
3)
I'd really like to hear what different alternatives all of you have for
this problem.
Thanks a lot,
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
iacritical marks but also skipping some
characters.
Maybe I will use a combination of both (the PEAR class and the spell
checker) when I need to detect a long sample or a short sample
respectively.
Thanks again for sharing your comments,
-William
El mié, 28-03-2007 a las 09:44 +0
atter what.
Thanks for your help,
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Any idea with this one? please??
El lun, 02-04-2007 a las 07:51 -0500, William Lovaton escribió:
> Hi there,
>
> I'd like to know a way to detect the file encoding from PHP and Linux
> command line too.
>
> In PHP I tried mb_detect_encoding() but it doesn't work
Hello,
I need to create solution for user authentication/recognition in my web
page. I think it would be a good idea to use mysql database for storing the
user info because the user info is later used to determine what parts of
site the recognized user is allowed to update.
The site is for a s
e mysql database for storing
>> the user info because the user info is later used to determine what parts
>> of site the recognized user is allowed to update.
>>
> William,
> Take a look at the PEAR Auth class:
> http://pear.php.net/package/Auth
> http://pear.php.net/manu
Hello,
I need to make a script/form that can create username and md5 password and
save the info to mysql db.
Can anyone help?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
What is the best or right way to compare users name and password given in a
web form to data in mysql database?
I saw one example where sql SELECT query was made with username and password
as WHERE and the script tested how many rows was returned from database if
there was 1 row returne
Hello,
How can hide the typed password in web form with *** (asterix)? I dont wan't
everyone to seen evereone passwords in plain text.
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK ;-)
"M. Sokolewicz" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> William Stokes wrote:
>> Hello,
>>
>> How can hide the typed password in web form with *** (asterix)? I dont
>> wan't everyone to seen evereone passwords in pl
Hello,
I got my little user authentication to work but now I would like to know how
to make and check the (upper/lower) case in password. To put it simple. I
want users password to be case sensitive.
The authentication checks for returned number of rows from DB. If there is
one matching row th
OK.
I changed to hashed passwords in now they are case sensitive.
Thanks.
-Will
"Richard Lynch" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> William Stokes wrote:
>> I got my little user authentication to work but now I would like to know
>> how
Hello,
If I send a session cookie to browser where it is stored in WinXP? Or is it
stored as a separate file at all. I know that the script sends the cookie
but I can't find it in the client computer harddrive.
I am testing with Opera, IE6 and Firefox.
Thanks
-Will
--
PHP General Mailing Lis
Hello,
If I send a session cookie to browser where it is stored in WinXP? Or is it
stored as a separate file at all. I know that the script sends the cookie
but I can't find it in the client computer harddrive.
I am testing with Opera, IE6 and Firefox.
Thanks
-Will
--
PHP General Mailing List
Hello,
I need to collect persons birth date from web form. The form is this kind:
Birthday
date
month
year
Then I need to combine these in to a one $variable. Something like this...
$birthday = $day . $month . $year;
How can I add the . (dots) to the date so it would look like for example
Hello,
Is it possible to force one automatic refresh browser when user enters to a
webpage? If so, how?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
Can someone explain this to me. I don't know how to read this.
if (!$variable = mysql_query("select id,sessid from users where ...
What is this "if(!"
I mean the ! sign.
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK got that. Thanks...
"Jason Petersen" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> On Wed, 2 Mar 2005 13:02:39 +0200, William Stokes <[EMAIL PROTECTED]>
> wrote:
>> Hello
>>
>> Can someone explain this to me. I don't know h
e has rights to more than one team. I
have already spent way too much time with this so help is highly
appreciated.
Thanks a Lot
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
This might be more of a HTML question but I think that someone here can help
me.
How can I put, automatically, the cursor to a spesific text field in web
form. So that the user doesn't have to select the first field with mouse.
Thanks
-Will
--
PHP General Mailing List (http://www.php.n
Thanks Jesper. That did it!
-Will
"Jesper Goos" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> Try something like this...
>
> onload="document.loginForm.username.focus();document.loginForm.username.select();">
>
>
>
>
>
&
Hello,
Again this might be more of a HTML quetion. If so sorry about that.
Anyway I was just trying to make a log out button to a page. It should end a
session or/and close browser window. (Closing browser ends the session as
well I think?)
All variable values are deleted when browser is closed
I'm trying to learn functions (just started). I can't see why this fails:
I probably just didn't understand my manual. Any ideas?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't know whats wrong with this. Can someone help please.
This will print: "shaisse" but nothing else. I need to know why the other
variables won't print. The sql query worksand echoes work if not used in
function. I tested it in an other file and it worked but when I put it in a
function
Hello,
Just simple question (I think?)
How to pass return value from function to the main program?
Here's example:
do some code in funtion to set the $res value:
} elseif ($rightsid == $oik6) {
$res = ok;
return $res;
} elseif ($rightsid == $oik7) {
$res = notok;
return $res;
}
How
. If you really write your code like that exactly, the two
words "ok" and "notok" wont have any effective meaning.
wish it helps to you.
On Fri, 18 Mar 2005 09:33:13 +0200, William Stokes <[EMAIL PROTECTED]>
wrote:
> Hello,
> Just simple question (I think?)
>
&g
Hello,
I have a following line in my code to set a session cookie when user logs
in. It works fine.
setcookie("sess_id","$sess_id",0,"/");
Can I store more information to the session cookie? I mean other variables.
Like I tried it like this with no success.
setcookie("sess_id","$sess_id",$anoth
Will
"Ken" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> No, you'll have to use another cookie name.
> Alternatively, you can use arrays
>
> setcookie('cookiename['arrayname']', $value, time());
>
>
> On Fri, 18 Mar 200
Hello,
How can I remove a space character from variable value.
for example:
change
$name = "John Doe";
to
$name = "JohnDoe";
The blank space needs to be removed from the string. How?
Thanks a lot!
_will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Hello,
I'm (slowly) learning how to make a file upload stuff with php. Now I would
like to know how to define the servers upload directory in the code?
For example I have the upload script in folder /www in the www.domain.com
server and I want upload the files to /www/uploads folder. So how do
ROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> http://www.hotscripts.com/Detailed/24113.html
> take a look at this.. perhaps you can reverse engineer it
>
>
>
>
>
> "William Stokes" <[EMAIL PROTECTED]>
> 24/03/2005 09:18
>
> To
> php-ge
Never mind. I got that sorted out! Thanks anyway...
-Will
"William Stokes" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> Okl I can't reverse engineer that...
>
> I just need to know how to set the path.
> now I have it like this and it wont work. $
Hello,
I have a checkbox in a form. How can I determine if the user has set the
checkbox on or not?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
How can I let user delete a uploaded image file in the server's directory?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I really can't figure this out. Can someone help please. I've wasted hours
already with this one.
I'm trying to print image to a web page using fpassthru. Here's the code:
$name = path/to/the/image/folder/img1.jpeg;
$fp = fopen($name, 'rb');
// send the right headers
header("Content-
Hello
How can I generate a ramdom number let's say between 1- 1 000 000 and store
it in a variable?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
never mind...
:-)
"William Stokes" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> Hello
>
> How can I generate a ramdom number let's say between 1- 1 000 000 and
> store it in a variable?
>
> Thanks
> -Will
--
PHP General Mailing List (
Hello,
I got a bit frustrated with image upload stuff with different image name
problems. So I created a system that gives the uploaded imaged a random
numeric name between 1-10 000 000 and saves the file to a server folder and
the image name to mysql DB.
Is there a so sort of a problem here t
Hello,
I was under impression that php automatically gives values to image_type and
image_name if one tries to upload image from a web form if the name of the
uploaded image field is image.
If I do this I can see that there is a path for the uploaded image in a
variable but the echo won't prin
Hello,
I might have asked this already but I am still ignorent ;-)
How to check if a same name file already exists in a upload directory when
uploading new file?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ... goes
on like this.
How this can be done?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This doesn't set the cookie? Can you see why? I can't...
$showbrowseteam = 'somejargon';
setcookie("showbrowseteam","$showbrowseteam",0,"/");
Thanks
-will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What was the string chooping function? I need to chop a date value from DB
like (07.04.2005) and time (22:00) to $day ='07' $month='04' etc. etc.
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Can I jump to html and back to php in the middle on switch
example:
do some html
do some html
etc etc.
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
This is not a php but sql question. My apologies but I don't know any good
sql forums and I know that someone here might be able to answer.
OK so the question is. How to make a SELECT query with WHERE definition that
requires 2 conditions to be satisfied so that the row gets selected?
M
Is there a way to limit a size with som sort of a maxlength value
I know it's not php but thanks anyway
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Know any good sql discussion groups for mysql?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Is it possible to delete a session cookie from browser? If so how?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks. That's what I was looking for...
"Burhan Khalid" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> William Stokes wrote:
>> Hello,
>>
>> Is it possible to delete a session cookie from browser? If so how?
>
> http://www.php.net/ma
Hello,
I have a system that uses certain id info. This info is stored in a session
cookie in MD5 format. At certain parts of the code I need to update or
insert to MySQL DB with that id info value in cleartext. Is this possible?
If so, how to put this to a sql query?
$sqlquery = "insert into
this and I'm running out of fresh ideas. I really wouldn't
want to write those separate sql queries for each update if its possible to
avoid that. Thanks a lot.
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Is there somethigh special about Opera 8 and it's way to locally store
variable values?
I have a application which uses 2 variables to determine what information to
retrieve and output from DB. At the first page user has to decide what to do
and after that his given 2 variables $updatei
Hello,
I have an web application that checks users rights to specific parts of the
apllication at the beginning of each page. However I noticed, with the help
of Jason Barnett, that opera caches pages locally and the users rights check
fails. The application works fine with Firefox and IE. So I
Talkin' to myself...
does this solve the issue?
header ("Cache-Control: no-cache");
-Will
"William Stokes" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> Hello,
> I have an web application that checks users rights to specific parts of
>
06:46:58 -0700, Jason Barnett
> <[EMAIL PROTECTED]> wrote:
>
>> William Stokes wrote:
>> ...
>>> This works fine in IE and Firefox but Opera "remembers" users previous
>>> choice and prints wrong info to user. After pressin refresh button it's
&
Hello,
I need to write some sort of a user logout system for my web application.
It needs to be a solid system so that if the user presses the Logout button
there's no way of returning to the password protected area without logging
in again. At the moment my "system" only tries to close browse
OK.
How about preventing access by hitting the browsers back button after the
user has logged out?
-Will
"Petar Nedyalkov" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I made a mistake and stored date information to DB as varchar values
(dd.mm.yyy). When I read the DB is it still possible to sort the data by
date with SQL query (ORDER BY date ASC)? Or is it nessessary to have the
date information to be stored as a date in the DB? Will it work or is the
work cause it's a varchar field in the
DB.
Any idea how to put STR_TO_DATE() in to the following SQL query:
SELECT event_id,name,date,time,place,type,info FROM test_table
WHERE (group = '$group') AND (type = 'Game' OR type = 'training')
ORDER BY date ASC
Thanks a
OK. I found that out from MySQL manual. I just don't know how to insert the
date formatting function to the query:
I quessI need to put STR_TO_DATE() in to the following SQL query:
SELECT event_id,name,date,time,place,type,info FROM test_table
WHERE (group = '$group') AND (type = 'Game' OR type
Thanks Richard.
That did the trick. Now to the DB fixing business...
-Will
"Richard Lynch" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> On Thu, May 5, 2005 10:42 pm, William Stokes said:
>> I made a mistake and stored date information to DB as varchar va
2 GB RAM and 4
proccessor with 550MHz each.
I hope it can serve you as a reference.
Regards,
-William
El lun, 12-04-2004 a las 08:37, Merlin escribió:
> Hi there,
>
> I am trying to stress my LAMP app with MS stress tool for web applications.
> It simulates about 100 threads.
&
lable but
> > others not and still no error. the only way how i came to this was
> > putting some die()s to see where
>
> Do you have display_errors turned on?
Sometimes I have this problems too, no matter if that setting is on.
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ime(). Look at the
user comments too.
http://www.php.net/microtime
With this you will be able to see the most used functions (queries) and
how much time they take to execute. Based on this information you will
know what you have to optimize first.
Just remember, "Premature optimization is
ls it does it completely silent.
To workaround the problem I have to do:
$tmp = "bar";
$x = foo($tmp);
or
$tmp = $obj->getBar();
$y = foo($tmp);
Regards,
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
-William
El lun, 12-04-2004 a las 17:51, Ben escribió:
> But what if the function you are callign doesn't need any passed
> variable like
>
> $bar = foo(); ???
>
> the more strange thing is, on a lamp environment (SUSE 9.0, PHP 4.3.5),
> the scripts worked, on a wam
May be you should load the corresponding extension in your php.ini and
restart the web server.
Something like this:
extension=dbase.so
Then look back at your phpinfo(), you should see information about that
module.
-William
El mar, 13-04-2004 a las 02:26, Joukje de Haan escribió:
> Yes,
re ua_getConnect() and hence ua_getConnect() won't be declared.
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ur program with assertions and that
won't affect the performance or behaviour when it is compiled for a
production environment.
Remember, I might be wrong or inaccurate. But I agree that it is not a
good idea to use assertions to validate input data or for normal
operations.
-William
PS. Co
Give phpxref a try, it is nice. it is on sf.net
-William
El mar, 13-04-2004 a las 14:10, Andy B escribió:
> does anybody have any good recommendations for anything to do auto doc
> generation for php classes/functions and stuff.. like phpdoc or something of
> that sort?
>
> wh
the client, in this case the web server,
to let the RAC know that it must determine which real server within the
cluster will recieve the connection.
I might be wrong though.
-William
El mi? 14-04-2004 a las 17:45, Kevin O'Brien escribió:
> Has anyone succesfully got PHP and Ora
full duplex or half duplex?
El mar, 20-04-2004 a las 02:00, Yavuz Maşlak escribió:
> Hello
> I have a webserver that running php4.3.x,mysql3.5x,apache1.3.x on Mandrake9.
> I intended to transfer this server to another server.
> I installed Freebsd4.9 on newserver. and certainly apache1.3x,php4,
Mmmm... do you have another test box?
How much time does it take using, let's say, ftp or samba??
-William
El mi? 21-04-2004 a las 00:57, Yavuz Maşlak escribió:
> full duplex
> - Original Message -
> From: "William Lovaton" <[EMAIL PROTECTED]>
&g
tion and make complex queries, a
text file on the web server hard disk is just fine.
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
loaded system.
If you are concerned about speed always use native functions.
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, I have two php pages that upload files to a mysql db. I do not know how
to change this code to accept more than plain text files. Specifically, I
would like to accept .doc and .xls files. Can anyone help? Thanks...Will
This is my upload form
Upload a New File
Upload this file:
Apache 2.
Thanx,
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How are you manipulating the whole SQL string??
$sql = "SELECT..."; ???
or
$sql = 'SELECT...'; ???
In this case you will have to use double quotes because PHP won't parse
single quote strings for searching embedded PHP variables.
May be this is the problem.
-Willi
No... PHP and JavaScript are executing at different time and at
different place. Besides, they are executed by different programs.
Are you trying to measure execution time of a query??
Look at:
http://www.php.net/microtime
-William
El vie, 23-04-2004 a las 09:09, Jeff McKeon escribió:
>
p on either topic is much appreciated.
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
A question about forms and PHP. I have a dropdown list which gets the lines
in the list from DB. Like this(col1 is used only for sorting the data):
echo "choose one:";
$sql="SELECT col1, col2 FROM table_04 ORDER BY col1";
$result=mysql_query($sql);
$num = mysql_num_rows($result);
$counter
Thanks! I found the answer from:
http://codewalkers.com/tutorials.php?show=12
"Daniel Clark" <[EMAIL PROTECTED]> kirjoitti viestissä
news:[EMAIL PROTECTED]
> Hi Bill.
>
> Put something like:
>
>
> ##your form selections here##
>
>
>
> Then on your read_form.php page:
>
> $what_they_selected = $_
Hello
I need to open a popup window from my php page . The information displayed
on this popup depends on a variable value on the first page. How do I
paste/move the variable value to the popup window. The popup is opened via
javascript.
I have no idea how to do this. Hope someone can help. Thaks
Hi,
Is there a way to integrate PHP with AS/400??
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
El vie, 30-04-2004 a las 08:12, Jay Blanchard escribió:
> [snip]
> Is there a way to integrate PHP with AS/400??
> [/snip]
>
> Probably. http://catb.org/~esr/faqs/smart-questions.html
I just hoped that someone could actually answer me. Someone that have
experience with AS/
El vie, 30-04-2004 a las 10:24, Jay Blanchard escribió:
> [snip]
> > [snip]
> > Is there a way to integrate PHP with AS/400??
> > [/snip]
> I do have experience with AS/400.
So, is this possible? is this a viable solution for a production system?
--
PHP General Mailing List (http://www.php.net/
en know if I can use ODBC.
Have you done this?
-William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d=%d AND name=\'%\'.-34s\' AND
account=\'%0.2f\' AND blah=%06d AND value > \'30%%\'', NULL, '1 OR',
'name\'s');
?>
Output:
Query is:
SELECT * FROM blah WHERE id=1 AND
name='name\'s...&
If you need a better source example/layout goto:
http://nopaste.php-q.net/59720
William Bailey wrote:
Hi All,
After having been talking to lots of people in irc lately who are
haveing problems with SQL injection etc i think that haveing a
*_queryf() function would be really useful to help
tried the following but this fails and results in -1:
$t = strtotime('@'.time().' + 2 seconds')
p.s. I know that for the example posted i could just do:
$t = time() +2
But i also want situations where i could have 'next thursday + 3 hours'
e
101 - 200 of 453 matches
Mail list logo