here's a couple:
Custom Error 404 Documents with PHP
http://www.phpfreaks.com/tutorials/21/0.php
Creating Custom PHP 404 Error Pages
http://www.phpbeginner.com/columns/ray/404/1
depending what you are doing this might help too ...
Building Dynamic Pages With Search Engines in Mind
http://www.php
hi,
here is how you do it
alert(' echo $strJavaScriptValue?>');
this will alert "Hello!". i think you get the point.
Haseeb
- Original Message -
From: "Nirmala P" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 30, 2003 10:45 AM
Subject: [PHP] Help needed
> Hi A
Hi All,
I am new to PHP world.
Could any body tell me how to call any function(written in PHP)
from Java script.
Actually my PHP function return a string value which i need to
access in my java script code.
Thanks in Advance..
Nirmala
___
Cli
Hi All,
I am new to PHP world.
Could any body tell me how to call any function(written in PHP)
from Java script.
Actually my PHP function return a string value which i need to
access in my java script code.
Thanks in Advance..
Nirmala
___
Cli
On Sun, 2003-06-29 at 14:19, [EMAIL PROTECTED] wrote:
> However, MySQL support is no longer there. There doesn't seem to by any dll
> for mysql in the extensions subdirectory.
http://bugs.php.net/bug.php?id=24389
This issue has been addressed and is now available in the snap build of
PHP5.0 avai
Dude,
As far as my first email is concerned im a newbie, so please bear w/ me if
you want to.
--
Louie
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 1:32 PM
To: Miranda, Joel Louie M
Cc: 'Tom Rogers'; '[EMAIL PROTECTED]'
Subject: Re: [PHP]
Miranda, Joel Louie M wrote:
This is what I have made, im not sure if its correct.
---
enter name:
enter email:
---
Believe it or not, creating a variable called $value_* isn't going to
magically set an input box's value. Did you even read the example?!
--
The above message is encrypted
This is what I have made, im not sure if its correct.
---
enter name:
enter email:
---
--
Louie
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 12:43 PM
To: Miranda, Joel Louie M
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP] Passing form v
Take a look at register_shutdown_function, it sounds like it might do
what you want just be aware that you obviously can't display output once
the connection is closed because no one is listening .
void register_shutdown_function ( callback function)
Registers the function named by function to
Hi Henrik,
Take a look at session_id, you can use it to get or set the session id.
Using some of my random generation functions I juse 72 to 96 character
session ids for my more secure PHP applications. Remember if you want
it to remain secure you need to pass it through SSL, longer keys do no
Hi,
Monday, June 30, 2003, 2:41:59 PM, you wrote:
MJLM> Im a beginner and was hoping if you could help me on passing a value into a
MJLM> form and into another form? Im not sure what do you call that sequence but I
MJLM> hope you could get me into a howto section to do that or give me something
MJ
Im a beginner and was hoping if you could help me on passing a value into a
form and into another form? Im not sure what do you call that sequence but I
hope you could get me into a howto section to do that or give me something
nice.
Thanks
--
Louie
--
PHP General Mailing List (http://www.php.
Hi,
"Feroze Md. Arif" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am looking for a solution that will allow full text search of M$Office
> files (Word, Powerpoint, EXCEL), PDF, HTML and Text files.
>
> I am working on a project that involves uploading of the above files to a
> server. After uploadin
On Mon, 30 Jun 2003 11:26:50 +1000, you wrote:
>I used to have a bookmark for how php.net's custom 404/redirect/search
>script worked, but I can't find it now, and can't see it on php.net... has
>anyone got a link?
I guess you're looking for Apache's ErrorDocument directive. It's in the
manual.
On Fri, 27 Jun 2003 18:12:29 -0700
"Dennis Browne" <[EMAIL PROTECTED]> wrote:
> E-,
>
> Thanks for the reply ... echoing just the Japanese characters displays just fine
> with both Netscape 4.7+ and IE 5+.
>
>
> With the include (both saved as utf8) is where the problem occurs. I have seen pos
Hello,
Justin French <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I used to have a bookmark for how php.net's custom 404/redirect/search
> script worked, but I can't find it now, and can't see it on php.net... has
> anyone got a link?
>
> Not sure if it was on zend.com or php.net.
>
Not sure what
Hi,
Monday, June 30, 2003, 4:14:02 AM, you wrote:
JW> On Sunday 29 June 2003 20:40, Tom Rogers wrote:
>> Maybe you have to wind up the post_max_size in php.ini and then control
>> with MAX_FILE_SIZE in the form for the error to show up in the $_FILES
>> array
JW> "MAX_FILE_SIZE in the form"
"Brian J. Celenza" <[EMAIL PROTECTED]> wrote:
> Would anyone happen to know what http_user_agent would be if the user is
> visitng from an internet enabled cell phone (e.g. sprint pcs phone or
> similar)?
Try Google or the archives. Maybe this will help:
http://marc.theaimsgroup.com/?l=php-ge
>Would anyone happen to know what http_user_agent would be if the user is
>visitng from an internet enabled cell phone (e.g. sprint pcs phone or
>similar)?
It may or may not be one of these:
http://www.thewirelessfaq.com/useragents.asp
---
php-general Digest 30 Jun 2003 02:32:02 - Issue 2147
Topics (messages 153319 through 153355):
Re: $_POST problem >> SUPERGLOBALS
153319 by: Philip Olson
Re: web site security: how to hide login info for mysql-connection
153320 by: anders thoresson
153321 by: Avvio -
On 30 Jun 2003 at 11:20, - Edwin - wrote:
> > Warning: Error parsing /mydirectory/mysql.ini on line 4 in Unknown
> > on line 0 Array ( [host] => spore.org [uid] => myuserid [passwd] =>
> > mypassword)
> >
> > The error message still remains, though now the test confirms that
> > mysql.ini is bei
Would anyone happen to know what http_user_agent would be if the user is
visitng from an internet enabled cell phone (e.g. sprint pcs phone or
similar)?
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Doug Essinger-Hileman" <[EMAIL PROTECTED]> wrote:
[snip]
>
> This leads to the following output:
>
> Warning: Error parsing /mydirectory/mysql.ini on line 4 in Unknown on
> line 0 Array ( [host] => spore.org [uid] => myuserid [passwd] =>
> mypassword)
>
> The error message still remains, tho
Hello,
On 06/29/2003 04:16 PM, Sascha Schumann wrote:
- Due to issues surrounding the MySQL 4.0 license, the MySQL libraries
are no longer bundled with PHP. For more information on these
licensing changes please see the MySQL licensing policy [1]
[1] http://www.mysql.com/products/licensing
The INI file should be:
[mysql_info]
host=spore.org
uid=myuserid
passwd=mypassword
Also, you'll probably want to do:
$INI = parse_ini_file("/home/revref/mysql.ini");
Doug Essinger-Hileman wrote:
I am just beginning to use php and mysql together (I'm new to both).
I am having trouble getting th
On 30 Jun 2003 at 10:25, - Edwin - wrote:
> > [mysql_info}
>
> I think you meant [mysql_info]? (Check the closing bracket.)
It is correct on the server. My fingers didn't type what my brain
told
them to for this email.
> Notice that you need to do something like this: (based on your
> example)
For some people, putting information outside the docroot isn't possible,
especially when your site is hosted.
On thing you can also try (which is nowhere near the security of outside
the docroot) is to put ocnfig data (user, pass, etc...) inside it's own
php file that is included in outfiles. F
Hi all,
I used to have a bookmark for how php.net's custom 404/redirect/search
script worked, but I can't find it now, and can't see it on php.net... has
anyone got a link?
Not sure if it was on zend.com or php.net.
TIA
Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hello,
"Doug Essinger-Hileman" <[EMAIL PROTECTED]> wrote:
> On 25 Jun 2003 at 16:42, Dan Joseph wrote:
>
> > Store that file outside the docroot. That way there is no chance
> > they can
> > get it from the web site. I myself use an ini file that is no where
> > near the docroot, and use par
I'm having a problem with the value that isset returns on $_SESSION
variables. For some reason, even if $_SESSION['uid'] is set, isset
returns FALSE. Here is the code:
-- file1.php ---
include "file2.php";
if (!isset($_SESSION["uid"])) {
// This first time $_SESSION["uid"] is
On 25 Jun 2003 at 16:42, Dan Joseph wrote:
> Store that file outside the docroot. That way there is no chance
> they can
> get it from the web site. I myself use an ini file that is no where
> near the docroot, and use parse_ini_file() to load the DB
> information in, and then I connect to it.
on 26/06/03 5:23 PM, Bibhas Kumar Samanta ([EMAIL PROTECTED])
wrote:
> my problem is that when I use sessions in the restricted pages
> the session_start() seem to reset the form ( when other filled in data
> is lost) when go back to the form using
> Back in the browser.
> So I wanted to avoid se
On Sat, 2003-06-28 at 13:10, Jay Fitzgerald wrote:
> I have been writing PHP for almost a year now and someone on phpfreaks told
> me the other day that my code was very sloppy.
>
> Since I want to more more into programming than design, can anyone
> recommend where to learn how to make sure you
on 25/06/03 12:19 PM, Ow Mun Heng ([EMAIL PROTECTED]) wrote:
> Can someone help explain how I can perform a benchmark on the queries or
> whatever?
Write some code, run it many many times, time it with something like Example
1 on http://au.php.net/microtime, then write alternate code, run it many
On Sun, 29 Jun 2003 23:41:09 +0200, you wrote:
>is it possible to close the connection to the client/browser without calling
>exit?
>I have an input-script for a chat-system, wich gives a Status 204 No Content
>to the client after submit, wich works great. The problem is, that sometimes
>the scrip
Hi,
I used MAX_FILE_SIZE too in the form which
uploads the file (the input field is before the file field)
and I am using IE6 for testing and still the file pass through to
the server.
Cheers,
Catalin
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sund
Jason:
THANK YOU!!! phpinfo is helping out big time. I never thought of using
it for debugging but I finally got it working. Have a cold brewski on me for
the save!!
Robin E. Kopetzky
Black Mesa Computers/Internet Services
www.blackmesa-isp.net
- Original Message -
From: "Jason Wong
Hi,
is it possible to close the connection to the client/browser without calling
exit?
I have an input-script for a chat-system, wich gives a Status 204 No Content
to the client after submit, wich works great. The problem is, that sometimes
the script needs some time to finish after sending the 20
At 22:38 29-6-2003, you wrote:
I can click links and they work but when I enter data in a form and try to
send it to the next php script to process the data, nothing happens. Is
there a simple way I can see what is returning from the browser to see if
what I expect is actually getting there?? I
On Sunday 29 June 2003 05:07 pm, Sparky Kopetzky wrote:
> OK, I see that I have to use $_POST['user_name'] or can I just use the
> variable passed back $user_name which would be a heck of a lot simpler??
If you have register_globals set to "on" in php.ini, then yes, you can use
$user_name. Otherw
OK, I see that I have to use $_POST['user_name'] or can I just use the
variable passed back $user_name which would be a heck of a lot simpler??
Sparky
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 29, 2003 14:56
Subject: Re: [PHP] AR
On Monday 30 June 2003 04:38, Sparky Kopetzky wrote:
> I can click links and they work but when I enter data in a form and try to
> send it to the next php script to process the data, nothing happens. Is
> there a simple way I can see what is returning from the browser to see if
> what I expect is
I can click links and they work but when I enter data in a form and try to send it to
the next php script to process the data, nothing happens. Is there a simple way I can
see what is returning from the browser to see if what I expect is actually getting
there?? I think $_SERVER['QUERY_STRING']
On Monday 30 June 2003 03:19, Larry R. Sieting wrote:
> I am trying to get a time calculation using:
>
> $tot_time = ($data['end_time'] - $data['start_time']);
>
> The end_time & start_time are stored in a db as column type of time.
>
> I want to output the difference as a difference expre
Hello,
I am trying to get a time calculation using:
$tot_time = ($data['end_time'] - $data['start_time']);
The end_time & start_time are stored in a db as column type of time.
I want to output the difference as a difference expressed in time
format: 10:05:23 - 09:45:32 = 00:39:51
Do
Hello Janet-
Currently you have two choices:
a) Compile PHP 5 on Windows yourself, with MySQL support
b) Wait for a DLL to exist
There isn't a DLL right now, nor do I know when one will
exist. But, you can be pretty sure that one will
eventually exist, especially before PHP 5 is officially
> On Sun, 29 Jun 2003, Robert Cummings wrote:
>
> > On Sun, 2003-06-29 at 14:19, Sterling Hughes wrote:
> > >
> > > - Due to issues surrounding the MySQL 4.0 license, the MySQL libraries
> > > are no longer bundled with PHP. For more information on these
> > > licensing changes please se
Ahhh crap. I read the PHP license a long time ago. I guess time faded my
memory and I began to think of it as GPL.
Thanks,
Rob.
On Sun, 2003-06-29 at 15:02, Derick Rethans wrote:
> On Sun, 29 Jun 2003, Robert Cummings wrote:
>
> > On Sun, 2003-06-29 at 14:19, Sterling Hughes wrote:
> > >
> > >
On Sun, 29 Jun 2003, Robert Cummings wrote:
> On Sun, 2003-06-29 at 14:19, Sterling Hughes wrote:
> >
> > - Due to issues surrounding the MySQL 4.0 license, the MySQL libraries
> > are no longer bundled with PHP. For more information on these
> > licensing changes please see the MySQL l
On Sun, 2003-06-29 at 14:19, Sterling Hughes wrote:
>
> - Due to issues surrounding the MySQL 4.0 license, the MySQL libraries
> are no longer bundled with PHP. For more information on these
> licensing changes please see the MySQL licensing policy [1]
>
> [1] http://www.mysql.com/produc
The PHP development community is proud to announce the release of
PHP 5 Beta 1. Both source packages and a Win32 build are available, you
can find these packages at http://www.php.net/downloads.php. For a
complete list of changes, please refer to
http://www.php.net/ChangeLog-5.php.
Some of the m
I can't seem to figure out how to get PHP5 working with MySQL support. I just
downloaded the latest PHP5 from snaps (which seems to be yesterday's build)
and it's installed fine, but I can't seem to get MySQL support.
The php.ini file still says
;Note that MySQL and ODBC support is now built in,
On Sunday 29 June 2003 20:40, Tom Rogers wrote:
> Maybe you have to wind up the post_max_size in php.ini and then control
> with MAX_FILE_SIZE in the form for the error to show up in the $_FILES
> array
"MAX_FILE_SIZE in the form" is client-side, for the benefit of the browser.
*IF* the brow
At 2003-06-29 17:21 +0100, Avvio - Frank wrote:
>basically you need to append to your include_path and you can probably
>create a local .htaccess file and set an include path in there (look up
>php_value syntax for .htaccess)
>
>otherwise start your script with a customised version of the following
basically you need to append to your include_path and you can probably
create a local .htaccess file and set an include path in there (look up
php_value syntax for .htaccess)
otherwise start your script with a customised version of the following:
ini_set("include_path",ini_get("include_path").":"
Be aware that wherever you store the settings folder, your php.ini should
have that path in it's include_directories setting, and the webserver
must
have read permissions for that file.
I don't have access to php.ini on my ISP's web server. Is there a way for
a user to make their own set ow inclu
It would be best to read the manual pages on superglobals
and retrieving external variables as the manual explains
these topics in detail:
http://www.php.net/reserved.variables
http://www.php.net/variables.external
Regards,
Philip
On Sun, 29 Jun 2003, esctoday.com | Wouter van Vliet wrote:
php-general Digest 29 Jun 2003 14:26:10 - Issue 2146
Topics (messages 153304 through 153318):
Re: Cookies and Macs
153304 by: Justin French
error_log function
153305 by: Ole Brumm
153311 by: Jaap van Ganswijk
Re: Another newbie
153306 by: Ray Hunter
Re: New
Hey List-
I'm trying to figure out how to make the PHPSESSID cookie be longer then 32
characters?
One can set the entropy file and entropy length, but if my understanding of
entropy is correct then that just helps randomize the 32 chars and not not
actually make a string that much longer or s
Hi,
I already tried $_FILES['userfile']['error'], but
as I already said the $_FILES is empty, completely empty
Cheers,
Catalin
"Tom Rogers" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Sunday, June 29, 2003, 9:49:43 PM, you wrote:
> CT> Hi,
>
> CT>
Hi,
Sunday, June 29, 2003, 10:17:43 PM, you wrote:
TR> Hi,
TR> Sunday, June 29, 2003, 9:49:43 PM, you wrote:
CT>> Hi,
CT>> This is the error I get in the log file:
CT>> [error] PHP Warning: POST Content-Length of 11184886 bytes exceeds the
CT>> limit of 8388608 bytes in Unknown on l
Anders:
> Somewhere, I've read that settings.php should be placed in a directory
> outside the html/php-directories. Today, my web directory is
> /home/anders/public_html and subdirectories to public_html. Should
> settings.php be placed in /home/anders/include?
That is correct - you are always b
Hi,
Sunday, June 29, 2003, 9:49:43 PM, you wrote:
CT> Hi,
CT> This is the error I get in the log file:
CT> [error] PHP Warning: POST Content-Length of 11184886 bytes exceeds the
CT> limit of 8388608 bytes in Unknown on line 0
CT> This is absolutely correct. The problem is
CT> th
Hi,
This is the error I get in the log file:
[error] PHP Warning: POST Content-Length of 11184886 bytes exceeds the
limit of 8388608 bytes in Unknown on line 0
This is absolutely correct. The problem is
this error does not reach my PHP script and I
have no idea how can I tell my
Let's explain this thing with the superglobals now once again .. so that
everybody knows it ...
In newer versions of PHP some superglobal arrays are available...
$_GET[] - For any variable passed through the query string (in the URL,
or address bar in a http://www.domain.com/page.php?foo=bar&
At 2003-06-29 03:55 +0200, Ole Brumm wrote:
>I have just implemented the error_log function on my web site, as I find this
>feature very useful. I have chosen to write to a file on the server.
>
>my question is: How can I make error_log write each error message on a NEW line
>in the file I have c
Hi I hope there is anybody out there familiar with PHP and Java.
I've got the following Code:
If I only use one of the two objects, which one doesn't matter, it works.
IF I try to initiate them both PHP.exe is closing down on me.
In Apache error log I get the folowing error:
[Sun Jun 29 10:58:32
Hi,
At the moment I store username, password and database for my MySQL
connections in a file called settings.php to avoid putting them in my php
files direct. On a Linux server, what extra steps can I take to prevent
others from accessing settings.php?
Somewhere, I've read that settings.php sh
68 matches
Mail list logo