wer from persistent javascript data to
using framesets to hold the variable but to no avail.
I know its quite a bit of javascript, but its mixed in with PHP too so I
thought it`d be the right place.
Anyways, I hope someone can provide the answer to my problem.
Thanks in advance,
Tom
--
what function would do this? Sorry if I`m wasting your
time if its a really obvious one!
thanks in advance,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just to give you something to chew on, try the code below.
It is slightly more generic, and you can change things a little
without having to modify a whole bunch of if() statements.
-Original Message-
From: Ian Gray [mailto:[EMAIL PROTECTED]
Sent: 27 October 2003 12:26
To: [EMAIL PROTE
Hi.
Is there an easy, non expensive way to do the perl-equivalent of:
$date=20031202;
($year, $month, $day) = ($date =~ /(\d{4})(\d{2})(\d{2})/;
I looked through the preg_* functions online, but couldn't see anything
to help me. Am I stuck with substr() :P ?
Thanks.
--
PHP General Mailing List (h
g too much perl, as it seems such a neat solution
to me :P
preg_match should do it...
$mydate = "20031202";
$date = array();
preg_match("/(\d{4})(\d{2})(\d{2})/", $mydate, $date);
print_r($date);
substr would be much quicker though
On Tue, 2003-12-02 at 13:14, Tom wrote:
Hi.
David Otton wrote:
On Tue, 02 Dec 2003 13:14:20 +, you wrote:
Is there an easy, non expensive way to do the perl-equivalent of:
$date=20031202;
($year, $month, $day) = ($date =~ /(\d{4})(\d{2})(\d{2})/;
I looked through the preg_* functions online, but couldn't see anything
to help me. Am I
Is there a way I can force PHP's time functions not to read date strings
in the American MM-DD- format?
I am using strtotime and strftime and date at various points (mainlty to
avoid some niggly 0/NULL problems between PHP and mySQL
and datefields).
My date calculations (which are done in mySQL
Ford, Mike [LSS] wrote:
On 16 January 2004 11:14, Tom wrote:
Is there a way I can force PHP's time functions not to read
date strings
in the American MM-DD- format?
[*snip*]
Is there a way I can have strtotime read "10-01-2004" (and
all other such
date connotations)
Radwan Aladdin wrote:
Hi all
Is it possible in mySQL to put a timer that changes a value inside a row in a table every while?
For example : Add "1" to the value very 10 minutes for example.. Field number = 5 after ten minutes = 6 after another 10 minuste = 7..Etc..
Is it possible?And how?
Rega
Is it possible to find out who is logged in a site and display their name in
PHP?
--
best wishes,
enethk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [
I would like to upgrade PHP3 to PHP4 on my Turbo Linux, does anyone has
experience on this?
--
best wishes,
enethk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators,
hpinfo() output either)
Any clues as to what I am missing?
Many thanks,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
#x27;element']); but it doesn't work.
Does anyone know why?
Does anyone know of a way to use array_diff() to delete elements
from an array?
Thanks,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
#x27;element']); but it doesn't work.
Does anyone know why?
Does anyone know of a way to use array_diff() to delete elements
from an array?
Thanks,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
What is the best way to delete an element from an array?
I tried using unset(), and it didn't work.
Thanks in advance.
Tom Malone
Web Designer
HurstLinks Web Developmenthttp://www.hurstlinks.com/
Norfolk, VA 23510(757)623-9688 FAX 623-0433
PHP/MySQL - Ruby/Perl -
a hosting company who
does not have freetype installed (much less current versions of gdlib
and php).
Is there something I can do to get the GD fonts to space properly?
Thanks,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
large, preferably of hosts that offer shell accounts.
Regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if it
offered Truetype support, so that I can use functions like
ImageTTFText. I will check out the recommendations at this point.
Thanks very much.
Tom
>Datasnake.co.uk would be able to help you out
>
>Alastair
>
>> -Original Message-
>> From: Tom [mailto:[EM
input is greatly appreciated.
Tom
Contact Form
Have a Question?.
Please include Name, Email address and a
short message when replying. Your questions will be answered
shortly
mail.com...
> On Mon, Jan 26, 2009 at 15:57, Tom wrote:
>> I am a new user of PHP, and am using Dreamweaver CS3 for the webpages.
>> The
>> following page has my form but the submit button is not working properly.
>> http://www.richlandmtg.com/contacts.html
>> What co
"Shawn McKenzie" <> wrote in message
news:a0.87.62571.3d92e...@pb1.pair.com...
> Tom wrote:
>> My Hosting site said that I needed to include the PHP otherwise the form
>> won't work. I need to know where to include my email info to get this set
>>
"Daniel Brown" wrote in message
news:ab5568160901261347h1dab427bo29a1313494cd...@mail.gmail.com...
> On Mon, Jan 26, 2009 at 16:34, Tom wrote:
>>
>> Shawn,
>> So would that look something like this:
>> > if ($_SERVER['REQUEST_METHOD'] == &q
"Shawn McKenzie" wrote in message
news:497e3ab9.2060...@mckenzies.net...
>
>
> Shawn McKenzie wrote:
>>
>> Tom Scott wrote:
>>> - Original Message - From: "Shawn McKenzie"
>>>
>>> Newsgroups: php.general
>>>
"Eric Butera" wrote in message
news:6a8639eb0901261509s1008e1b1j89c2a8f63669e...@mail.gmail.com...
> On Mon, Jan 26, 2009 at 4:47 PM, Daniel Brown wrote:
>> On Mon, Jan 26, 2009 at 16:34, Tom wrote:
>>>
>>> Shawn,
>>> So would that look something
"Edmund Hertle" wrote in message
news:f7ed91b20901261644y125f71aer3e0b70735c949...@mail.gmail.com...
> 2009/1/26 Tom
>
>>
>> "Shawn McKenzie" wrote in message
>> news:497e3ab9.2060...@mckenzies.net...
>> >
>> >
>> > S
"Clancy" wrote in message
news:c77vn4pri9tsbaqg9avv3i7dnfb8nvk...@4ax.com...
> On Mon, 26 Jan 2009 17:57:29 -0600, obeli...@comcast.net ("Tom") wrote:
>
> ..
>>>
>>> Also make sure there aren't line returns or any nonsense like that in
&g
"Shawn McKenzie" wrote in message
news:47.36.08436.e8b80...@pb1.pair.com...
> Tom wrote:
>> "Clancy" wrote in message
>> news:c77vn4pri9tsbaqg9avv3i7dnfb8nvk...@4ax.com...
>>> On Mon, 26 Jan 2009 17:57:29 -0600, obeli...@comcast.net ("Tom&q
test
Jay Blanchard :
[snip]
I am writing a program for managing leads and contacts. I would like to
add
the ability to see what TIME it is where the contact is not there server
time. So if you looked at a list of contacts from all over the country
you
would see different times compared to what ti
Easy!!
Pierre Pintaric :
Hello there,
I'm sure this question was ask 1,000 times, but I didn't find any
archive about this, that's why I need help...
Here is my problem:
I receive mail file from my MTA (ie QMail), that works fine. Now, I
would to find a class or a function that parse the mai
I have located what appears to me to be bug in the XSLTProcessor in
PHP5.2.13 but want to insure that I am not overlooking something before
reporting it. Any advice will be appreciated.
The issue is apparent discrepancies in output sort order in an XSLTProcessor
generated list. Following is a deta
If your mysql server has access (or can have access) to the directory
where you want to dump the file, you can just use the "SELECT INTO
OUTFILE FIELDS TERMINATED BY ','..." syntax as your query, which is very
fast.
Mirco Blitz wrote:
Hi,
Probably the Pear Excel_Syltesheet_Writer works for
Hello.
As per the subject: I am using PHP, mySQL and Smarty for
a web site with lots of forms everywhere. The site is
split into display, content and logic. And I want to
introduce the concept of mandatory fields.
Manually editing all the content files to mark the
mandatory fields and matching the
n of me of
the upcoming problems I am bound to face? :)
Thanks.
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ray Hunter wrote:
On Tue, 2004-05-04 at 19:18, msa wrote:
$query_rsENews = 'SELECT * FROM NewsArchive WHERE YEAR(datePublished) = ' .
YEAR('NOW'()) . ' AND MONTH(datePublished) = ' . MONTH('NOW'()) . ' ORDER BY
sortBy DESC';
this is supposed to return only the records that have the current month an
ation protocol requested
by server; consider upgrading MySQL client
Which can the cause of this error be?
Am I able to make something to solve it or does a problem belong exclusively
to the administrator of the server?
Thank you very much,
Tom.
--
PHP General Mailing List (http://www.ph
when the user returns to the form all the data of the fields
disappeared! Then the user has enter all the information again.
How can I make in simple way that, the data in the fields don't get lost
when the user returning to the form?
Ahead of time, thank you very much,
Tom.
--
PHP
'XPM Support' => false
'XBM Support' => true
'JIS-mapped Japanese Font Support' => false
Would I need to have T1Lib support in order for this it work?
As a quick example, here is some code I’ve been playing around with that I
found somewhere.
Can you show me what your gd dump looks like?
Is that way I got mine.
Also, what php version are you using? I'm using 5.1.6.
Thanks for the info.
Tom
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: November 21, 2006 11:40 PM
To: Tom
Cc: php-ge
e2's other fields).
This may fall more into how to structure my application. I want to
separate the generated do code from my 'business logic' and separate the
form/display details from the business logic.
Any help/advice is greatly appreciated.
Thanks,
Tom
--
PHP General Mail
x27;t turn up anything
specific to this concern), does anyone have other specific resources
regarding FormBuilder?
Tom
Richard Lynch wrote:
On Tue, April 25, 2006 4:26 pm, Tom wrote:
I've successfully generated my DataObjects for my database and have a
...
My question concerns usi
x27;t understand why...
The same system in a Linux server runs well always ¿?
Ahead of time, thank you very much,
Tom.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
deletes the tmp
file.
Why don't php use swap memory ?
Greets Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, ist'not a php limit. The upload is written in main memory, if i look
with vmstat, free is going to 0 and the php upload breaks at 0 bytes free.
Nothing swap used. Any other ideas?
"Per Jessen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Tom w
running, take a look at memory
with vmstat. free is goin to 0, no swap is used. I don't know, that is a
suse 10.2 effcet only.
"Per Jessen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Tom wrote:
> No, ist'not a php limit. The upload is writte
smaller files is no problem. The error occoured, if the uploaded File is
bigger than the installed main memory.
Ok, i know that http ist not designed for big uploads. But on a big website
with upload enabled and 30 users upload simultan a 20 MB File, they lost the
upload while php hold all in m
hmm, memory buying is okay, not the final solution. I think php design fault
on this function. It's not comprehensible why php use such a lot main
memory for an upload.
""Richard Heyes"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Well, you lost me right about... Well
nd can't solve it :-(
"Per Jessen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Tom wrote:
> hmm, memory buying is okay, not the final solution. I think php design
> fault on this function. It's not comprehensible why php use such a
>
>Ah, so it's not PHP and it's not apache using up your memory - it's your
>filesystem cache. Check how many files you have in the tmp directory
>and the destination directory.
Okay, thats light in the darkness. But i don't have any idea what i can do
here. tmp is empty.
Look at the first entry,
i use ext3
Im realy on no limit. destination ist /tmp and is fairly empty.
The question is now, if cache full => must hypothetical swap used?
ok, im glad to see your result.
"Per Jessen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Tom wrote:
>&g
Hi Per,
your result is on a suse 8.2 ?
hmm, i don't know the reason why my suse 10.2 machines do that failure.
My limits for for post_max_size and upload_max_size is both 1500M.
Greets & thanx, Tom
"Per Jessen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL P
0% working file uploads if
memory lower than the file size :-)
""Tom"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi,
>
> on a linux system (Suese 10.2) with 1 GB memory its not possible to upload
> via http a 1 Gb File. Thats n
What is set this limit?
"Per Jessen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Tom wrote:
> Im very glad to fix this problem, but the next one is here: Other
> machine (but 2 GB Ram), same suse version, same (working now) php.ini
> with limits
sbeitrag
news:[EMAIL PROTECTED]
Tom wrote:
> Hi Per,
>
> your result is on a suse 8.2 ?
> hmm, i don't know the reason why my suse 10.2 machines do that
> failure. My limits for for post_max_size and upload_max_size is both
> 1500M.
>
> Greets & thanx, Tom
Tom,
fails. I
don't know if this is the overhead.
http://www.guildmeets.de/index.php?onlydirid=78
(in Folder "Neue Game Demos")
"Per Jessen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Tom wrote:
> Hi Per,
>
> Execution Time ist set to 7
Andrew write the answer:
-1149239296 Bytes is indiz for to big.
This time I had set the upload_file_size and post_max_size to 3000Mb
each, which probably didn't work. When I tried the 1900Mb file again I
got this error:
[Fri Aug 08 16:57:28 2008] [error] [client 192.168.2.113] PHP Warning:
POST
> PUT is raw (AFAIK)
That sounds good. Have you any link to a basicly methode description? This
is a really new methode for me but sounds better than http upload btw.
resume function is not bad.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
Gerard Samuel wrote:
> On Wednesday 28 January 2004 09:32 am, Stuart wrote:
>
>> Diana Castillo wrote:
>>
>>> is there any function that will always replace a "&" with a "&" in a
>>> string?
>>
>>
>> $string = str_replace('&', ' ', $string);
>>
>
>
> Just a heads up on using the above method.
> If
ing;
}
}
Can anyone help me to get either solution to a working state?
By the way...
apache 2.0.49
php-5.0.2
Thanks very much
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
needed now as I have the worker defined as a private
function and can access it from the public one as
array_walk($anArray,array($this,'aFunction');
Thanks
Tom
Jochem Maas wrote:
Tom wrote:
Hi
I'm batting my head against a wall on this one...
I have a class that has a constructor
easier and it leaves the main code tree legible!
All down to personal preference though. The only hard and fast rule is
to keep it consistent and comment well so that when you pick it up again
a few months down the line you can still maintain it!
eg
Tom
But what I'm really wanting to ge
I've just started playing with the php5 improved mysqli extensions.
I have the following code:-
$updateQuery = "UPDATE client SET status = 'INACTIVE' WHERE clientName =
'Tom'";
if ($mysqli->query($updateQuery))
{
$updateCount = $mysqli->affected_
Richard Lynch wrote:
Tom wrote:
I've just started playing with the php5 improved mysqli extensions.
I have the following code:-
$updateQuery = "UPDATE client SET status = 'INACTIVE' WHERE clientName =
'Tom'";
if ($mysqli->query($updateQuery))
{
$updateC
shell_exec()
Tom
Khan wrote:
Hello,
I have a shell script for ading users to LDAP. It looks like this:
#!/bin/bash
MUID=userlogin
FULLNAME="First Last"
LASTNAME="Last"
DOMAIN=example.org
SERVER=qmail.example.org
PASS=userpass
cat > .ldif.tmp.$MUID << EOF
dn: uid=$MUID,
d, but the
suggested alternative in the docs doesn't work at all:
print date('Y-m-d H:i:s', strtotime('now UTC-0800'))."\n";
try
print date('Y-m-d H:i:s', strtotime('now') -0800)."\n";
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Khan wrote:
Tom wrote:
shell_exec()
yes, I have try that but nothing happenes. here is my code. Is this
correct?
looks fine to me, except that I tend to run a check to make sure that it
has run ok, like
$myReturn = shell_exec('/test/acct.sh');
or
if (shell_exec('/test/acct
Marcus Bointon wrote:
On 18 Jan 2005, at 10:53, Tom wrote:
PST = UTC - 8, therefore if you ask for strtotime in PST it will give
you now + 8. This is standard in most languages, you are just
reading the functionality back to front.
ie when you say strtotome('now PST'), what you are
vers so it doesn't care what language
you are using to provide the content.
Tom
Merlin wrote:
Hi there,
I am trying to find a open source PHP Cache extension. After trying
out ionCube PHP Accelerator (http://www.php-accelerator.co.uk) I had
to remove it from the system since it brought down t
th. This stops people on public
machines from hitting a back button and being authenticated as the
previous user.
Tom
not
sure what your PHP experience is... but hopefully the above steps will
help you out some..
Cheers!
Joe
On 25 Jan 2005 17:35:08 -0600, Bret Hughes <[EMAIL PROTECTED]
y a file extension in the same way as a domestos environment, it is just
part of the filename).
eg1) blah => blah (no change as it doesn't match the regex)
eg2) favicon.ico => favicon.ico.php
when the rule next runs, it finds that favicon.ico.php does not match the
exception of .php
secondary (and tertiary...) sites and
directs traffic to whichever has the lowest load, or to whichever site
the rules are set to.
This is of course a more expensive solution that may not be at all
applicable in your instance (expense is the purchase and hosting of the
load balancer hardware)
Ben Edwards wrote:
Been meaning to investigate persistent database connections for a
while. Coming from a rdbms background (oracle with a bit of whatcom
sqlanywhare) I have always felt that the overhead of opening a
connection at the beginning of each page was a little resource
intensive.
MySQL
me more debugging info:';
16 print_r($_FILES);
17 print "";
18 }
19
20 ?>
3) Output :-
Possible file upload attack!
Here is some more debugging info:Array
(
[userfile] => Array
(
[name] => MANIFEST
[type
nd is not re-read until I restart the entire
box. Anyone out there know why this may be, or a slightly better way of
getting around it than rebooting?
(By the way, the upload functionality is fine after the reboot :))
Ta
Tom
Marek Kilimajer wrote:
Tom wrote:
Hi
I have a very simple file upload for
Graham Cossey wrote:
You don't say how many tables you have, how they are named or anything
outside of the query itself.
Assuming that not all your tables are named PID_* how about simply doing
SHOW TABLES LIKE '%PID_%'
and selecting appropriate results within the php script using strstr
or regular
file
Here's a code sample that I just tested...
$new_line=" $LABEL\n";
$filecontents = join ('', file('./classified.html'));
$fp=fopen("./classified.html","w");
fwrite($fp,$new_line);
fwrite($fp,$filecontents);
fclose($fp);
Hope that
rpos($results, $keyword)+200;
$length=$endposition-$startposition;
$item=substr($item, $startposition, $length;
echo $item
?>
Tom Culpepper
www.multicasttech.com
[EMAIL PROTECTED]
Alex wrote:
> you could also use regular expressions, but php isn't perl, so good
luck on
> that one
}
fclose($fp);
$start_position=strpos($item, $start)+strlen($start);
$end_position=strpos($item, $end);
$length=$end_position-$start_position;
$item=substr($item, $start_position, $length);
}
echo $item;
?>
Tom Culpepper
Multicast Technologies
Adam wrote:
someone gave me the followin
Try using fopen() to open the file and then fread() to read it into the
buffer and set that equal to the variable.
Tom Culpepper
Multicast Technologies
Patrick Anderson at TUE wrote:
Hi,
For some (strange, I know) reason I would like to copy the content of a
webpage into a database.
I would
rl;
the only way to change it dynamically on the same page would be javascript.
-tom culpepper
Stephen wrote:
I have a simple post script and I want to make it so if a user types in
a URL of some sort, to change it to make it clickable. How could I do that?
Thanks,
Stephen Craton
http://www.melc
from the archives of the list
http://www.phpbuilder.com/mail/php-windows/2001042/0222.php
-tom culpepper
Stephen wrote:
They are entering in a whole paragraph or two of text and I want to search
the paragraph for URLs then make it a clickable URL and then store it in a
MySQL database
or.us
>
> "Life is a gift from God. Wasting it is like destroying a gift you got
> from the person you love most." -- http://www.melchior.us
--
Tom Woody
Systems Administrator
NationWide Flood Research, Inc.
phone: 214-631-0400 x209
fax: 214-631-0800
Don't throw your compu
I am not positive of the problem as I can not see your code, but if you
want to display the words that end in '5C' the you can do them like so:
\(escape character) like this: \(95 5C 5C)
If you could sttach some code we might have a better idea.
-tom culpepper
[EMAIL PROTECTED]
lookup ereg() and eregi()
-tom culpepper
Philip J. Newman wrote:
Where should i start, tips wanted.
I would like to check a username string for valid charactors before the name
is processed.
Someone point me in the right direction please
---
Philip J. Newman.
Head Developer.
PhilipNZ.com New
mmy");
$dad = new parentClass("I want a new Porche", $son);
echo $dad->child->goo();
echo $dad->child->m;
echo $son->m;
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gain, or at least I think that is what is
happening :)
This should not be a problem as the data associated with the old session is
gone.
If you close the browser and start a fresh one you will get a new session id.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have never bothered with the cookie, I only delete the server side info.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gle =& $jungle; //<<<<<
}
function fall($density)
{
$this->jungle->receiverain($density);
}
} // Rain
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t as a GLOBAL inside the function, but nothing
CA> happens. Here's part of my code:
CA> This is part of my product's index.php file:
CA>
Your if statements should be like this:
if ($LOCATION == "productos") //needs the double '=' sign
otherwise $LOCATION
Gerard Samuel
GS> http://www.trini0.org:81/
GS> http://dev.trini0.org:81/
Do your own session timing by storing a last access time in sessions and check
the duration yourself, if it is over the timeout you want delete the session
data and start again. That way the cookie is ok but won
; --
BG> http://bethanoia.dyndns.org/
BG> rss feed: http://bethanoia.dyndns.org/bethanoia.rss
switch will treat 0 as false which ever way you try to dress it up :)
I solved a similar problem like this:
switch($c){
case (ord($c) > 47 && ord($c) < 58)?True:False:
noia.rss
TR> switch will treat 0 as false which ever way you try to dress it up :)
TR> I solved a similar problem like this:
TR> switch($c){
TR>case (ord($c) > 47 && ord($c) < 58)?True:False:
TR> $output .=$c;
TR>break;
TR>
hoo.com
This line should probably be like
foreach($data as $line ) { //currently date
and you will have to extract $salt from the password field too
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n expired data after it expires and before it is deletedmsession
does so I hacked it to cleanup if expired data is requested.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uery2= "SELECT * FROM tabletosearch WHERE fieldtosearch LIKE '%"
.$searchword. "%' ORDER BY whatever ASC ".$limit;
$result = mysql_query($Query2) or die(mysql_error());
$hstring = $page->make_head_string('Results');
$pstring =
$page
Hi,
Wednesday, December 4, 2002, 1:04:07 PM, you wrote:
S> I have a similar problem only my sessions expire once you leave the site,
S> even for a second. I'm not so experienced with cookies so how can I fix
S> this?
S> - Original Message -----
S> From: "Tom Roge
eturn stale data
which could be bad in a login type of situation.
JWH> Okay, so what's your question? The cookie and data is still there, but
JWH> it's expired? How? As far as I know it's not expired until it is
JWH> deleted.
JWH> ---John Holmes...
--
regards,
To
x27;t log out and the
session is open to everyone, session timeout is supposed to help prevent these
cases or at least reduce the chance. But of course the main use of session
timeout is to frustrate developers who take more than 40 mins to suss out the
next bit of code
--
regards,
Tom
--
PHP
T
JTJ> ('".stripslashes($search)."' IN BOOLEAN MODE) ORDER BY id
JTJ> asc";
JTJ> See (http://ccl.flsh.usherb.ca/print/display.table.inc.phps)
JTJ> What is the correct PHP syntax to get MySQl to read my SQl correctly?
JTJ> What am I f***ing up?
JTJ
$iv = pack("a".mcrypt_enc_get_iv_size($td),$iv);
mcrypt_generic_init ($td, $key, $iv);
$id = mdecrypt_generic ($td, base64_decode($eid));
$len = strtok($id,'-');
$id = substr($id,(strlen($len)+1),$len);
1 - 100 of 1845 matches
Mail list logo