You can't do it from java script...
See the php docs...there are good examples too.
Hope this helps.
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do I convert the unix time stamp (the one I get by the time()) to a
readable English language time
I am getting data from mySQL by the "now()" function
Please Help
Thank You.
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
Your scripts must be very large...make the codes comming in the if block in
another file and include it(use your descretion). The less often excuted
code is better off as include files...
And use 'require' only when required.
Lord Loh
--
PHP General Mailing List (http://www.ph
Cookies are loaded the next time the page is loaded. So you may have to
refresh the page to see the cookie...
or
Submit to a html page which will redirect to the page which shows cookie
value...
Hope this helps...This should work...
Lord Loh
--
PHP General Mailing List (http://www.php.net
See the flash docs. There are ways of making javascript and flash interact.
So make a dynamically generated javascript which will pass variable to
flash!
Or are there special reasonds to use only GET ?
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Guys, Guys, why are you harrasing this poor chap?
one sure simple way is..
at the begining
Throws out all the buffered output to the browser at the other end.
now add header info any place before ob_end_flush(); and get no errors !!!
Lord Loh
--
PHP General Mailing List (http://www.php.net
st variables...
Any comments...Any one ?
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any conflict with the server Keep-Alice time ?
That is usually not more than a minute...
Thank You
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There is a execution time out(30 sec. by default)
How do you avert it!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So you want to do overloading ?
Try depricating the function call by
@blhablah($a,$b,[$c]);
No warnings generated!
Hope this helps
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
See mine...
MySQL, PHP
http://findmaan.sourceforge.net/ opensource, So you can modify as long as
you give me the cridits and comply with the licence...
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thy these headers
=
$now = gmdate('D, d M Y H:i:s') . ' GMT';
header('Expires: ' . $now);
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Pragma: no-cache');
=
Hope it helps...
Lord Loh
--
PHP General
That is not an error! It is a Warning...I got it the other day when the file
was empty (or did not exist or something).
Use @ prefix to make it disappear
http://www.something.com/the_filename.txt";);
?>
Hope this helps...
Lord Loh.
--
PHP General Mailing List (http://www.php.
Simple!
Write a script to automate the process!
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
discard...
for example(only example): The DBX library I have is giving warnings with
mysql...
Please help
Thank You!
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
==
~ Lord Loh ~
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
www.phpide.de
An excellent PHP IDE for windows. Color coding, Syntax hints(tool tips
type), auto indent etc...
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
saying that they are using MySQL!
Should this be asked in a mysql list ? Please suggest a NNTP server!
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A function I have written to accept filenames, read it and phrase it's mark
ups. Is the second function of one line file a good idea ? Is there an
alternative ? Can problems arise if the size of the file being phrased is
very large ?
==
=
>From the php docs(XC. Session handling functions)
==
Hello visitor, you have seen this page times.;
is necessary to preserve the session id
# in the case that the user has disabled cookies
?>
To continue, click here
===
on www.sourceforge.net
If you are familiar with these systems, what do you comment?
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Other users on the same server *shouldn't* be able to include() in this
way"
How?
Would their $_SERVER['HTTP_HOST'] not be the same?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://myadress/php/mypage.php?modo=123&color=red&size=3
and to get
echo $_GET['modo']."";
echo $saci_color."";
echo $saci_size."";
===
Tested it! It worked!
G stands for GET
You can use P or C for POST or COOKIE
The order of gpc is important the later overwites the former
y
database password !!
Even a web master from a remote server can do the same by probably using
http://www.xyz.net/config.php
I am using windows 2000/apache/php so I really have not tried these...but
the docs say it can be done(remote system inclusion except on win)
Lord Loh.
--
PHP General Ma
Google uses php to make a software download and installs it through the
browser!
How does this work ?
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://myadress/php/mypage.php?modo=123&color=red&size=3
is fine!
you can now use these variables like
$modo $color and $size;
Why bother with $_GET['modo']; ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello! I am new to REGEX.
I tried to read several posts on REGEX. However none were descriptive.
What is Regex ?
Is it a part of the php? or an additional module?
What can it be used for ?
Please let me know
Thank you.
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To
MySQL support is now built in Php. So all you have to do is start using
it...
Any problems try editing the php.ini to give a little extra conguration for
mySQL..
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>From the PHP docs...
=
Hello visitor, you have seen this page times.;
is necessary to preserve the session id
# in the case that the user has disabled cookies
?>
To continue, click here
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
1. How can I store an image in a database.. ?
2. How can this be now used to create an image ?
3. Is there any way I can read an image from a remote site and save it's
minature view in my DB / file ? (How can an image be resized ?)
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
www.phpide.de
Check this out - Php IDE
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
int fseek (int fp, int offset [, int whence])
int ftell (int fp)
int rewind (int fp)
These syntaxes might be useful...
Read more in File System Functions of the PHP Docs.
Hope these help
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
ill posted (security breach)
- If a special hidden field is not used, then the password length suddenly
increases.
Disadvantage
- If the user clicks the submit button twice, then the password submitted
will be incorrect as it would
be MD5(MD5(password))!
So to come over it,
I dont know if it is compatable with other browsers...
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ill posted (security breach)
- If a special hidden field is not used, then the password length suddenly
increases.
Disadvantage
- If the user clicks the submit button twice, then the password submitted
will be incorrect as it would
be MD5(MD5(password))!
So to come over it,
I dont know if it is compatable with other browsers...
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
";
$i=0;
do{
$i++;
}while($i<=100);
$stop=getmicrotime();
$difference=($stop-$start)/3600;
echo $start."".$stop."".$difference." Hours";
?>
Does this help...
- Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
TEST-PLEASE IGNORE
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
36 matches
Mail list logo