hmm it still doesn't work. Maybe its because if have an if statement in the
include which is closed in bottom.php?
Sjoerd van Oosten
Digitaal vormgever [EMAIL PROTECTED]
Datamex E-sites B.V.
http://www.esites.nl
Minervum 7368 Telefoon: (076) 5 730 730
4
Dear friends,
I've opened a Bug I think I've found on PHP, but there I was recommended to ask
you.
Below you'll find the Mail I wrote and I hope, that you can help me.
[2001-12-06 06:30:32] [EMAIL PROTECTED]
I'm using a generated Script of the PHAKT-Software on a Windows 2000 and Apache
Serv
You would normally access this via:
$HTTP_REMOTE_USER or
$PHP_AUTH_USER
but these variables are only available (and thus only show up in phpinfo) if
you have actually logged in via apache htaccess authentication.
Fred
Chamarty Prasanna Kumar <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]
Hi Rasmas and All,
Thanks very much for the prompt reply.
phpinfo() shows only
REMOTE_ADDR
REMOTE_HOST
REMOTE_PORT
but not $REMOTE_USER.
Even I tried using $REMOTE_USER alone, but no response.
Please suggest a way.
Kumar.
On Fri, 07 Dec 2001 Rasmus Lerdo
If you simply want to find out the username of someone who has logged in
using apache htaccess authentication, that information is contained in the
global variable $PHP_AUTH_USER
Fred
Chamarty Prasanna Kumar <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi R
To use the HyperWave functions you need to download and install HyperWave,
whatever it is.
And your second question has nothing to do with HyperWave. Simply check
$REMOTE_USER. phpinfo() would have shown you this.
-Rasmus
On 7 Dec 2001, Chamarty Prasanna Kumar wrote:
>
>
> Hi Rasmas and
Hi Rasmas and All,
Thanks very much for the reply, Rasmas.
To use Hyperwave functions does I need to download
software and install it or it will work with php
intallation.
Or is there any way to find the login "username" from
the web page using php and that login authentic
> Try taking the header line out; that way if there is an error message
> you should be able to see it in 'View Source'.
Finally managed to solve the problem - there was an empty line before
the start tag ("http://greetings.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubs
http://phpwizard.net/projects/phpMyAdmin/ -- this is a great admin tool
through web
http://www.mysql.com/downloads/gui-mysqlgui.html -- you can find screenshot
there,
looks ugly
- Original Message -
From: "Hai Nguyen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 07
On Thursday 06 December 2001 09:31 pm, Hai Nguyen wrote:
> Hi,
>
> I am a newbie at this. I was just wondering if there is a Graphical
> User Interface for MySQL?
>
> Cheers,
>
> Hai Nguyen
Did you check the mysql.com web site? They list a few, and do a
search on google, you'll find lots more.
Hi,
I am a newbie at this. I was just wondering if there is a Graphical
User Interface for MySQL?
Cheers,
Hai Nguyen
--
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 administrat
Not that I have ever used HyperWave, but a 3 second glimpse at the manual
would seem to indicate that you get a HyperWave connect by calling
hw_connect().
-Rasmus
On 7 Dec 2001, Chamarty Prasanna Kumar wrote:
>
>
> Hi All,
>
>Want to know the usage of
>
> hw_getusername(int connection
* Cam <[EMAIL PROTECTED]> [Dec 07. 2001 00:23]:
> Anyone know of a way to redirect to another page with PHP? I'm aware of the
> META tag redirection via the HTTP header, but I really need a more elegant
> solution that redirects immediately without relying on any HTML tags.
> Appreciate the help
You can use,
header ("Location: http://www.php.net";);
and you can pass variable,
header ("Location: http://www.php.net?name1=$value&$name2=$value2";);
Hope this can helps.
Alex Shi
- Original Message -
From: "Cam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 0
http://your.domain/path/to/file.html";); ?>
- Original Message -
From: "Martin Towell" <[EMAIL PROTECTED]>
To: "'Cam'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 3:23 PM
Subject: RE: [PHP] Redirect Function?!!
> how about include'ing the target page then e
how about include'ing the target page then exit'ing straight after?
include "$page";
exit;
-Original Message-
From: Cam [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 4:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Redirect Function?!!
Anyone know of a way to redirect
Anyone know of a way to redirect to another page with PHP? I'm aware of the
META tag redirection via the HTTP header, but I really need a more elegant
solution that redirects immediately without relying on any HTML tags.
Appreciate the help,
-C
--
PHP General Mailing List (http://www.php.net
Hi All,
Want to know the usage of
hw_getusername(int connection); function
specifically, what connection refers to !!
Thanks in advance,
Kumar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
Thanks Alex.
I typed in:
$name
within the script for Tony2.php
and it was fine.
*However*, I thought I could have the value from that variable entered into
the Tony2.php page by using the AHREF tag...
This is what I'm reading:
"Let's say you wanted to construct your site so that it showed th
Yes sir: -rw-rw-r--
Directory : drwxrwsr-x
Deron
www.metalages.com
"Martin Towell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> look at read permissions, does the web server have permissions to read
those
> files?
>
> -Original Message-
> From: Der
Can you paste Tnoy2.php script? Please make sure in Tony2.php $name
is printed but not $lname.
Alex
- Original Message -
From: "Anthony Ritter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 12:01 AM
Subject: [PHP] Trying to pass a variable through a form...
I'm trying to pass a variable from a form text box into a php file
(Tony1.php).
Then, I'd like to click on a link in the Tony1.php page and get the
Tony2.php page to load with the original variable -$lname - printed on the
next page (Tony2.php).
The Tony2.php loads when I click the link but the
Is there an easy way with PHP, or something else, to have a document on the
web where a certain word is mentioned within the page somewhere...in my case
a band name and it could automatically take that name/word and create it
as a link that's stored in either a flatfile or a database of some s
On Thursday 06 December 2001 01:08, Karthikeyan wrote:
> Dear Members,
> I installed RedHat 7.1, Apache, PHP4 and MySQL in a Intel Pentium processor
> system.
> Everything works fine (i.e. MySQL, PHP, etc). But when I want to connect
Is phpinfo() working ?
Test on mysql support.
Check on the fil
Hrm.. You seem to have worked out your issue yourself. Yes, Apache by
default inherits the environment it is started from. Sometimes this is
quite useful as some things need to be configured via environment
variables. ie. Oracle. If you don't want any of your environment
exposed, it is ea
I have a question about PHP under apache.
I was playing with some PHP4.0.6 apps running under apache 1.3.20 on a
vanilla
RedHat 7.1 box. I was logged in as 'xyz' on the box via SSH.
I 'su'd to root to restart apache (/etc/init.d/httpd restart) a few times
during testing.
In one of my tests I expl
cool, glad you got it working...if you think there's a bug with using / and
| you might want to see if you can replicate the problem, and if its really
a bug, submit it...my guess is that it was just a typo or something
jack
-Original Message-
From: Ken [mailto:[EMAIL PROTECTED]]
Sent: T
A standard cache-control header should do the trick:
Header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0");
-Rasmus
On Thu, 6 Dec 2001, Mark wrote:
> Hi,
> does anybody know of a way to 'encourage' squid to not cache files
> using headers or meta tags?
>
> t
Hi,
does anybody know of a way to 'encourage' squid to not cache files
using headers or meta tags?
thanks,
- Mark
--
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-
Hi Jim!
Ok couple of questions then...
.. yesterday these includes WERE working. For some reason I went to the site
today and they weren't. VERY weird! Since these includes are showing up on
multiple pages in different directories, I currently have them being called
like this:
Code in pag
in the html page have:
...
...
in myimage.php have:
-Original Message-
From: Christofe DuBois [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 10:35 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help displaying an image stored in a database...
I would like to store an image in
I would like to store an image in a database and then allow users to select
the image for display...
I can upload the file, and write it to the database. I base64_encode ' d it
and dropped it in a longblob field.
I then query the database, pull the encoded image out... now what...
I have trie
Searching Google :
http://php.weblogs.com/discuss/msgReader$934
List: php-dev
Subject: [PHP-DEV] PHP 4.0.7
From: Zeev Suraski <[EMAIL PROTECTED]>
Date: 2001-08-08 18:48:19
As those of you who are subscribed to php-cvs may have noticed, Andi and I
implemented today the functionality I
On Thu, Dec 06, 2001 at 12:08:12PM +0100, Susanne Benkert wrote:
> After recompiling my Php with the newest LDAP-Libraries and Openssl
> "ldap_connect("ldap://hostname";)" works. But I still have problems with
> "ldap_connect("ldaps://hostname")":
Could you check whether ldapsearch -H "ldaps://h
$fp = fopen("php://stderr", "w");
fputs($fp, "error message");
fclose($fp);
never tried it, but that's what it says in the manual (look at fopen())
-Original Message-
From: Ken [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 10:01 AM
To: PHP list
Subject: [PHP] Sending PHP scr
Is there a way to get a PHP script to return text that would be directed to stderr
instead of to stdout?
This is for a PHP script that I'm running via cron, and I don't need its output (which
at the least includes the annoying "Content-type: text/html" at the top), but I would
like to know abo
Several feature enhancements were made to this version, most notably the
{foreach ...} command which is an alternative to {section ...} with an
easier syntax for looping through a single array of values. Several
functions were enhanced so that the output can be automatically assigned
to a template
> var_dump($HTTP_SERVER_VARS);
> var_dump($HTTP_POST_VARS);
> var_dump($HTTP_GET_VARS);
> var_dump($HTTP_COOKIE_VARS);
> var_dump($HTTP_ENV_VARS);
>
> since 4.1.0 these are deprecated. Use
> $_SERVER, $_POST, $_GET, $_COOKIE, $_ENV
They are not deprecated. They will still work. $_* are slightl
var_dump($HTTP_SERVER_VARS);
var_dump($HTTP_POST_VARS);
var_dump($HTTP_GET_VARS);
var_dump($HTTP_COOKIE_VARS);
var_dump($HTTP_ENV_VARS);
since 4.1.0 these are deprecated. Use
$_SERVER, $_POST, $_GET, $_COOKIE, $_ENV
Regards,
Andrey Hristov
- Original Message -
From: "Alex Shi" <[EMAIL P
Hi,
I have a question about how we can read environment variables. In perl we
can
do this as following:
$caller = $ENV{'HTTP_REFERER'};
$doc_name = $ENV{'DOCUMENT_NAME'};
$visitor_ip = $ENV{'REMOTE_ADDR'};
$visitor_host = $ENV{'REMOTE_HOST'};
Actually in Perl, either SSI or CGI, we can get all
I do forms like this
The if line just checks to see if any data has been passed if it has it
prints what you send else if shows the form
-Original Message-
From: Ben Clumeck [mailto:[EMAIL PROTECTED]]
Sent: 06 December 2001 17:14
To: [EMAIL PROTECTED]
Subject: [PHP] Forms and
Have it check to see if the submit button has been clicked. such as the name
attribute you use on it. like
if(!isset($HTTP_POST_VARS[submit]))
{
header("Location: formpage.php");
}
Chris N.
"Ben Clumeck" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I ha
It's good practice to check that needed variables were passed at the
top of the page.
if($name) {
normal display
exit
} else {
error display
exit
}
To take this further, you should verify that not only was the
required data sent, but that it was in the corre
what about checking for some mandatory field and if it doesn't exist,
display an error message. something like:
-Original Message-
From: Ben Clumeck [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 9:14 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Forms and Results with PHP
I hav
I have a form that a user can put his contact info. This form posts to a
file called results.php. The results.php file has a mail() command and the
echo (i.e. ) to show the user confirmation of what he
has submitted.
However, if someone goes directly to results.php it will show Name: blank
and
OK, this time the \n worked. The only thing I changed was using / delimiters instead
of | delimiters in the search string. No idea if/why that would affect anything in
the replacement string.
Anyway, I finally came up with exactly what I wanted:
preg_replace(array("/\s*\n+\s*/", "/[ ]+/"), ar
look at read permissions, does the web server have permissions to read those
files?
-Original Message-
From: Deron [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 9:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Strange problem with some includes...
I have this page:
http://www.m
It looks like you put a full URL into your include ... which would be
incorrect.
The syntax is ...
include("path/relative/to/your/script");
jim
--
Jim Musil
-
Multimedia Programmer
Nettmedia
-
212-629-0004
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.n
Hi,
I've been having a problem moving uploaded files recently.
I have a script in directory
/foo/bar
and it has no trouble moving a file into
/foo/rex
but it can't move a file into
/foo/zip
This is strange because I created all the folders and the scripts, so
presumably they would hav
I have this page:
http://www.metalages.com/2002/reviews/rev-evergrey-insearchoftruth.php
If you look on the bottom, it says: Warning: Failed opening
'http://www.metalages.com/includes/relatedinfo/inc-evergrey.php' for
inclusion (include_path='.:/usr/local/lib/php') in
/home/www/metalages/2002/rev
I think it is aliased to mysql_db_query(). However the documentation states
that this function is deprecated in PHP4.0.6.
"Note: This function has been deprecated since PHP 4.0.6. Do not use this
function. Use mysql_select_db() and mysql_query() instead. " (www.php.net
documentation)
My questi
Oops.. my bad
$quarterbacks[$data['NAME']][$key] = $value;
Mike
Mike Eheler wrote:
> $result = mysql_query("select NAME,ATTEMPTS,COMPLETIONS,YARDS,TD,INT
> from players where pos = 'QB'");
> // or whatever it takes to get just qb's
> while ($data = mysql_fetch_array($result)) {
>foreach ($
$result = mysql_query("select NAME,ATTEMPTS,COMPLETIONS,YARDS,TD,INT
from players where pos = 'QB'");
// or whatever it takes to get just qb's
while ($data = mysql_fetch_array($result)) {
foreach ($data as $key => $value) {
// I've noticed that $data stores numeric and text keys, this
This is what I used to do what you're trying:
header("Content-Type: image/" . $imagetype); // $imagetype is jpeg or gif
header("Content-Length: " . strlen($image));
echo $image;
Note that "Type" is capitalized in "Content-Type", and include the
"Content-Length" as well.
-Steve
On Thursday, D
second issue first:
one call to preg_replace...if you check out php.net/preg_replace, you'll see
what i mean...use arrays...
and as long as you have them ordered in the right way, it'll execute them in
that order, so by the time the \s replace comes up all your 'bbbnbb' will be
fixed...problem the
you could also do this ...
$data = mysql_fetch_assoc($res); //this is a nice function because it
returns an associative array. so
// if you change your SQL db, you
wouldn't need to change your php code
// as much.
$quarterbacks[$
Are you sure that isn't a custom function in your code (assuming you're
using somebody else's code)?
It could be an alias to: mysql_db_query()
It has the same handlers, ex:
$rez=mysql_db_query($dbname,$query);
Tyler Longren
- Original Message -
From: "Dennis Moore" <[EMAIL PROTECTED]>
T
Not sure what you are trying to do, but try using
mysql_fetch_row ()
you can use SQL to limit your results.
/dkm
- Original Message -
From: "J. Roberts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 4:08 PM
Subject: [PHP] Creating multidimensional array
Something like this?
while( list( $name, $attempts, $completions, $yards, $td, $int ) =
mysql_fetch_row($res) )
{
$quarterbacks[$name] = array( "ATTEMPTS" => $attempts,
"COMPLETIONS" =>
$completions,
I can't seem to figure out how to create a multidimensional array from
a database query. Here is an example of what I was looking for, using
NFL quarterbacks as a statistical foundation...
A record contains the following fields:
NAME, ATTEMPTS, COMPLETIONS, YARDS, TD, INT
Now I would like to be
I cannot seem to find in the documentation the what the function mysql() is aliaseed
to using PHP4.0.6. Any ideas?
Example:
$rez=mysql($dbname,$query);
Everything works fine... But I want to be sure what is actually being used.
/dkm
I have successfully placed images (jpg,gif,png) into a MySQL database
BLOB field, now I want to be able to pull the data out and diplay it.
based on tutorial at
http://www.zdnet.com/devhead/stories/articles/0,4413,2644827,00.html
after Querying the DB I have the following lines:
$ImgFile = mysq
Hi
Suppose I have something like this :
Test1-1
Test1-2
Test1-3
Test1-4
Test1-5
Test2-1
Test2-2
Test2-3
Test2-4
Test2-5
How can I get to the data most easily?
The data are the Test1-1, Test1-2..
berber
--
This is what I had thought. I wasn't sure and needed the clarification.
Thanks as always!
Matt Friedman
-Original Message-
From: Harshdeep S Jawanda [mailto:[EMAIL PROTECTED]]
Sent: Thursday December 6, 2001 1:55 PM
To: Matt Friedman
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Extendin
I am not very sure what your question is, but "multiple inheritance"
means that a derived class can inherit (i.e., be derived from) more
than one class.
In multiple inhericance, you can have:
A B
| |
+---+---+
|
C
Here, C is simultaneously derived from A
Hello,
I am trying to get session data written to a MySQL table using
set_session_save_handler(), but am getting the following error when I
issue session_register("varname") on a page:
Fatal error: Failed to initialize session module in
/Library/WebServer/Documents/VirtualHosts/www/admin/en/l
> I had been under the impression that one could extend a class only once.
> That is, if I extend class A with class B I would then not be able to
> extend B again with any other class.
>
> See: http://www.php.net/manual/en/keyword.extends.php
> "An extended class is always dependent on a single
hmm looks right ...are you loading thru the server or are you doing a
file://c/:doc_root/file.php ?
heres the relevant info from my httpd.conf file on windows:
ScriptAlias /php4/ "C:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
whats a url to che
I had been under the impression that one could extend a class only once.
That is, if I extend class A with class B I would then not be able to
extend B again with any other class.
See: http://www.php.net/manual/en/keyword.extends.php
"An extended class is always dependent on a single base class,
Un-comment lines like this:
#AddType application/x-httpd-php .php
and these should be there:
AddModule mod_php4.c
LoadModule php4_modulelibexec/libphp4.so
Unless you're using the cgi.
And there might be some stuff I forgot.
--
PHP General Mailing List (http://www.php.net/)
To unsu
On Thursday 06 December 2001 11:23 am, pong-TC wrote:
> Has anyone installed and used PHP in CGI (not ISAPI) for IIS 5? Is it
> running good? I mean you got a full capability as PHP has, and there is
> no serious harm to the webserver(IIS 5). I am also using ASP. I don't
> know installing PHP
Think i figured out my problem...next time i will RTFM!!!
Sorry!
"Peter Van Der Maas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ok, Im' pretty new at this, but I can't see what may be wrong here:
>
> Table IMT
> -
> User (char)
> Se
Hello All
Has anyone installed and used PHP in CGI (not ISAPI) for IIS 5? Is it
running good? I mean you got a full capability as PHP has, and there is
no serious harm to the webserver(IIS 5). I am also using ASP. I don't
know installing PHP on the system will jeopardize the ASP application
my apologies.
my question is, how do i solve the problem of having the source show up in
my browser when i call a php page based on the information i provided, or
didn't provide that I should've modified in the .conf file
chris
- Original Message -
From: "The Big Roach" <[EMAIL PROTECTE
In some browsers that is what will happen on a form, is that will process the
infromation twice.
--- "Richard S. Crawford" <[EMAIL PROTECTED]> wrote:
> I've done something similar like this:
>
> < a href="javascript:window.back()" >Click here to go back< /a >
>
> In the situations in w
More than likely not. Putting an exit statement after a header redirect
is just good practice and ensures that nothing gets executed after
redirecting.
Mike
Don wrote:
>Hi,
>
>I have a PHP script that uses the following code to redirect to a page of the user's
>choice:
>
>header("Location: h
Ok, Im' pretty new at this, but I can't see what may be wrong here:
Table IMT
-
User (char)
SessionID (char)
StartTime(TIMESTAMP)
EndTime(TIMESTAMP)
Code on first page:
INSERT INTO IMT VALUES ('testuser', '$id', CURRENT_TIMESTAMP, '/0');
Code on second page:
UPDATE IMT SET E
Hi,
I have a PHP script that uses the following code to redirect to a page of the user's
choice:
header("Location: http://www.mypage.net/";);
In examples of this type of coding in various scriots, the above line is always
followed by the statement:
exit;
I am wondering why. When executin
Session would be the easiest thing to use. You could also 'pre-store' the
info on a database and retrive it depending at what page users are visiting.
--
Julio Nobrega
Don't eat the yellow snow.
<[EMAIL PROTECTED]> wrote in message
BB6D932A42D6D211B4AC0090274EBB1DA0F14F@GLOBAL1">news:BB6D93
I've done something similar like this:
< a href="javascript:window.back()" >Click here to go back< /a >
In the situations in which I've used it, the form data from the previous
page is still in the form fields.
Potential downsides of this approach: the data has not yet been
processed
switch( $x ){
case 1:
case 2:
case 3:
case 4:
case 5: {...}
break;
default: {...}
break;
}
py
At 05:38 PM 12/6/01 +, Robin McKenzie wrote:
>Could anyone tell me if there is a PHP equivalent to:
>
>SELECT x
> CASE 1 to 5
> {...}
> CASE ELSE
>
I think I'm making this harder or more confusing than it really needs to be.
I have a form that is spread out over four pages. I want to be able to give
the user the opportunity to return to page 1 from page 3, for example, by
providing a regular link on page 3 to return to page1. When they cli
I've set up a news database with a PHP front-end and am using MS SQL Server.
The news table is set up correctly with the pertinent field being of type
'text' which, according to documentation, should support well over 10 megs
of text data.
This is the problem: The user tries to submit a news arti
switch {} will do it.
http://www.php.net/manual/en/control-structures.switch.php
>Could anyone tell me if there is a PHP equivalent to:
>
>SELECT x
> CASE 1 to 5
> {...}
> CASE ELSE
> {...}
>END SELECT
>
>Muchos gracias.
>
>Robin
>
>
>
>--
>PHP General Mailing List (http
Could anyone tell me if there is a PHP equivalent to:
SELECT x
CASE 1 to 5
{...}
CASE ELSE
{...}
END SELECT
Muchos gracias.
Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
> The timeout is set in php.ini
Only change it in php.ini if you want it to be serverwide. For a specific
script use set_time_linit().
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
http://www.openecho.com/php/echophp-1.4.tar.gz
I used this package, which requires cURL and for you to have setup a
merchant account.
Was really easy!
As far as SSL jsut make sure you are serving the pages in SSL (https) and
all is fine.
You can home roll your on shopping cart like I did or you
Can some give me a brief synopsis or direct me to some
information on how to create an ecommerce site using
php. My main question is in the area of performing a
secure credit card transaction. Do I need to use a
third party shopping or can I create my own, if I
create my own how do I integrate i
The timeout is set in php.ini
-Original Message-
From: Christoph Starkmann [SMTP:[EMAIL PROTECTED]]
Sent: 06 December 2001 17:09
To: [EMAIL PROTECTED]
Subject:[PHP] Maximum execution time of 30 seconds exceeded
Hi everybody!
I wrote a script just to do some local replac
> I wrote a script just to do some local replacement stuff here on my own
> machine.
> Is there any way to change the maximum execution time of PHP which seems
to
> be
> restricted to 30 seconds
>
> Would be great if you could give me a hint on how to change this...
http://www.php.net/manual
set_time_limit(0); // no limit
set_time_limit(60); // 60 seconds
Regards,
Andrey
- Original Message -
From: "Christoph Starkmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 7:09 PM
Subject: [PHP] Maximum execution time of 30 seconds exceeded
> Hi eve
Hi everybody!
I wrote a script just to do some local replacement stuff here on my own
machine.
Is there any way to change the maximum execution time of PHP which seems to
be
restricted to 30 seconds
Would be great if you could give me a hint on how to change this...
Thanx alot,
Kiko
I created a function (appears below) that crops a JPG and outputs it on the
fly. However Apache crashes when I use the function. Unfortunately, Apache
does not put an error message in the logs.
I'm running it on a Windows2000 machine with Apache 1.3.20 and PHP 4.0.6
(installed via EasyPHP 1.5.0.0
Hello,
I'm using the following function:
>>BEGIN CODE<<
$q_cat ="SELECT cat_id, cat_naam, cat_parent_id FROM cat";
$r_cat = mysql_query($q_cat) or die ("Invalid Query fout Q=cat");
if ($r_cat)
$n=0;
if (mysql_num_rows($r_cat) > 0)
while ($row_cat = mysql_fetch_array($r_cat))
I need to have a map to a map of classes, is this possible using PHP?
For example, in C++, I can do this:
map > m_strMap;
===
Rocky Dean Pulley
Senior Technologist
CorTechs, Inc.
[EMAIL PROTECTED]
703-968-7021 x108
-- Quidquid latine dictum sit, altum videtur
===
using "\n" as your replacement text will do ithowever, if you want a
newline in the html, then you'll want ...
and as far as the advanced replace, make an array of search patterns, in
this case two.
your first pattern will be "/[ ]+\n+[ ]+/" with a replacement of a single
newline...then the s
It works with a "virtual phone" in the site, but I can't try sending SMS
berfore buying it (U$ 400.00). I won't buy a product before being sure it
works.
Does anyone know another method to do it?
Tnx.
"Dan McCullough" <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> He
When you perform the test you want to know if the $id is the user's
choice and if the user's choice is in the array.
Your code reads differently. You are checking to see if $id is the
user's choice OR $id is in the array. which would always check the
countries in the array.
>
You forgot the semicolon (;) after session_start()
> > This works fine, but now i made the files sessionstart.php and bottom.php
>>
>> sessionstart.php
>> --
>> > session_start()
>> if ($SessieEIA->Login == 1)
>> {
>> ?>
>>
>>
>> bottom.php
>> -
There is a semi-colon missing on the session_start() line. PHP can't pin
down the exact line number of an error where the error is a missing
terminator.
Kirk
> -Original Message-
> From: Oosten, Sjoerd van [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 06, 2001 8:44 AM
> To: 'Andr
1 - 100 of 162 matches
Mail list logo