ini_set("sendmail_from","[EMAIL PROTECTED]");
Jochem
Ron Herhuth wrote:
I remember there is a way to change php.ini information temporarily on a
page...specifically I want to change the sent from email address on a page
that will email a confirmation message...I forgot how to do it though.
Does a
Try :
gethostbyaddr (PHP 3, PHP 4 )
Get the Internet host name corresponding to a given IP address
string gethostbyaddr (string ip_address)
Returns the host name of the Internet host specified by ip_address. If
an error occurs, eturns
ip_address.
See also gethostbyname().
Jochem
Jan Hrebenar wr
see in php.ini
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
or
set_time_limit (PHP 3, PHP 4 )
limit the maximum execution time
void set_time_limit (int seconds)
Set the number of seconds a script is allowed to run. If this is
reached, the script returns a
header ("Pragma : no-cach");
or
header ("Cache-Control : no-cache, must-revalidate");
?
Jochem
Toby z wrote:
hay guyz
this is a rather silly thing
but its starting to drive me now
i have a page with a million switches checkin and including
files for each case .
the files on their turn ru
Try this for page 2:
In your version session_start() should be sent before any other output
is sent.
Jochem
Thomas Edward Lawrence wrote:
this is page1.php
Next page
this is page2.php
when I come back to page1.php from page2.php , this is result :
page1.php ( run at first time)
\baitap\session.php:11) in C:\PHP\baitap\session.php on
line 12
Notice: Undefined index: value in C:\PHP\baitap\session.php on line 13
1
Next page
"J.Veenhuijsen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Try this for page 2:
In your version sessio
See : http://www.phpbuilder.com/board/showthread.php?threadid=10227168
Here you can download libsasl.dll
Jochem
Ronen Kfir wrote:
From PHP manual:
"Note to Win32 Users: In order to enable this module on a Windows
environment, you must copy libsasl.dll from the DLL folder of the
PHP/Win32 binar
move_uploaded_file();
Jochem
Stephen K Knight wrote:
I am trying to upload an image to my webserver. This is the PHP page that
is called from my html page. I am trying to upload the image to my folder
called "logos" the direct link would be: C:\Program Files\Apache
Group\Apache2\htdocs\logos
Try extension_dir = C:\PHP\
Jochem
Anthony Ritter wrote:
I run the following script:
// the page loads o.k. when the semi-colon remains as in:
;extension=php_gd2.dll
but if I remove the semicolon as in:
extension=php_gd2.dll
the page won't load and the server hangs up.
...
I once used the script below on a dbase database.
Jochem
$step=30;
$file_name='dbs/files.DBF';
$ret=dbase_open($file_name,0);
$max=dbase_numrecords($ret);
if (isset($start))
{
$start_record=$start;
Try LOAD DATA LOCAL INFILE 'C:\\WINDOWS\\TEMP\\phpC255.TMP'
Rg wrote:
Let me introduce myself :
I write to this list from Corsica (the nearest of the farest french
overseas territories), and I am a newbie in Php, for those who
have'nt realized yet :)
and my error is :
I try to do an import
_
- Original Message -
From: "J.Veenhuijsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 12, 2003 4:55 PM
Subject: [PHP-WIN] Re: Is there something like findfirst/findnext
I should have read the manual better.
J.Veenhuijsen wrote:
I should have read the manual better.
J.Veenhuijsen wrote:
I need to retrieve a list of files (jpg) in a directory.
Is there a function like findfirst(*.jpg) like there is in Delphi?
Thanks in advance ?
Jochem
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I need to retrieve a list of files (jpg) in a directory.
Is there a function like findfirst(*.jpg) like there is in Delphi?
Thanks in advance ?
Jochem
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is this the same problem we discussed a week ago??
Jochem
George Pitcher wrote:
Hi,
I have a huge file that I want to get into a db format.
There are over 5000 records and I need to create fieldnames on the fly.
Each record comprises a number of lines (fields) containing 2 elements
(fieldname
Try move_uploaded_file and check rights for destination directory.
Jochem
[EMAIL PROTECTED] wrote:
Hi guys,
I realize that this might be rather a question for the general list, but i
will try it here anyway (still have to subscribe to general).
I am using the copy() method to upload pictures to
This is working on my test system.
";
?>
Jochem
Cybot wrote:
CORRECT use $_SESSION !
counter.php:
";
?>
index.php
";
include("counter.php");
?>
Radovan Radic wrote:
Hi
I want to add simple counter on my index.php page.
counter.php:
";
?>
index.php
";
include("counter.php");
?>
This
nd it.
CASE 3: Dynamically assigned IP#
IP# might dynamically be assigned to different user at different times points
-Original Message-
From: J.Veenhuijsen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 2:35 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Counter problems!
I use this on my site.
$counter_file="./count.dat";
if (!($fp=fopen($counter_file,"r"))) die ("Cannot open $counter_file.");
$counter= (int) fread($fp,20);
fclose($fp);
if ($REMOTE_ADDR<>"000.000.000.000")
{
$counter++;
$fp=fopen($counter_file,"w");
fwrite($fp,$counter);
fclose($fp);
}
T
You could check the IP adress of the visitor.
If it has not changed the the visitor is the same.
Last IP adress in the counter file?
Jochem
Radovan Radic wrote:
Hi
I want to add simple counter on my index.php page.
counter.php:
";
?>
index.php
";
include("counter.php");
?>
This should work,
Configure your webserver manually!!
Jochem
Jason Thibeault wrote:
I'm trying to install php 4.3.0 for Windows on a Win2k box with SP3.
Everything installs fine until the end where I get the folowing error:
"Due to a missing OCX control on your system, this installer is unable to
configure your
book has multiple authors, then there is a USAU field for each,
likewise for editors, levels, and quotes.
And that is only from the 150 records I've looked at.
george
-Original Message-
From: J.Veenhuijsen [mailto:[EMAIL PROTECTED]]
Sent: 28 January 2003 10:56 am
To: George Pi
What I would do in this case is writing my own little
parser program to spool it in to a MySQL database.
I often use Delphi for this.
What is the record delimiter?
OTOP with nothing behind it means emty field?
Execept for the USAU fields it seem all very fieldname/content like.
Jochem
George P
In my configuration .php and .php4 is mapped to
c:\WINNT\System32\php4isapi.dll
And this works.
Jochem
Patrick Chemali wrote:
Hello,
I am newbie to PHP and have been trying to install PHP on my local W2k IIS4
until I get the chance to setup a Linux box. I used the window binary from
php.net wit
Sorry I missed : set_time_limit(0);
J.Veenhuijsen wrote:
Your first problem is likely to be the 30 sec runtime a script is
allowed to take . See php.ini for this.
Jochem
Torben Dehn wrote:
Hello !
I am tryin to make a script that will ping a whole subnet and it looks
like
it works
Your first problem is likely to be the 30 sec runtime a script is
allowed to take . See php.ini for this.
Jochem
Torben Dehn wrote:
Hello !
I am tryin to make a script that will ping a whole subnet and it looks like
it works, but it does not...
It will ping around 60 to 70 computers and then it
Check missing ) or +AH0-
Nino V wrote:
> Hi all,
> please help me to understand why I get this error:
>
>
Parse error: parse error, unexpected +ACQ- in install.php on line 340
>>>
>
> Where line 340 is a EOF.
>
> Thanks a lot.
>
> Ciao,
> Nino
>
> =
> ht
Check if the directory where PHP stores session info
exists in PHP.ini and on the harddisk ( C:\temp ??)
Jochem
Juan Rosero wrote:
Hello,
I've been trying to run a PHP program called PHPList 1.9.3 available at
http://www.phplist.com/files/. The program does not seem to retain it's
sessions when
Try Sambar or Xitami
Radovan Radic wrote:
Hi
Can you tell me your experiences about web servers.
I need fast web server which runs on Win2000, compatible with PHP (i mean
that php works without problems) and is not IIS
Thx
Radovan
--
PHP Windows Mailing List (http://www.php.net/)
To unsub
Maybe this is caused by Safe-mode
If php is in safe-mode shell_exec won't run
Jochem
S wrote:
Hi,
I wrote a form for add user on email server
but the line
$f =shell_exec( `d:\imail\adduser.exe -u $userid -p $password2`);
return alway error
--
PHP Windows Mailing List (http://www.php.net/
Diggy Bell wrote:
Ok, I've left several handfuls of hair on the floor over this one, but I
gotta ask... I apologize in advance for the stupidity. I normally work
with Apache, but the client is always rignt! :P.
I'm running IIS 5 on Win2K with PHP 4.2.3. I've been able to get one
application co
31 matches
Mail list logo