Yes, I restart it every time. Sometimes I stop, wait, and then start it
just to be sure. To make a long story short, I had other problems and
someone helped me with them and suddenly it works!! Go figure. It might
have been a stack of problems affecting other parms that made it not work
but I a
Environment
-
WinXP Pro SP1
PHP 4.3.9
Apache 2.0.52
I am trying to set the session.save_path in php.ini and I cannot get it to
work. I have tried
session.save_path = "X:/ApacheGroup/Apache2/html/SessionSave"
session.save_path = "/ApacheGroup/Apache2/html/SessionSave"
session.save_pat
I am getting the following errors when I execute a php script.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result
resource
Warning: mysql_num_rows(): supplied argument is not a valid MySQL r
id=j.ad_id";
}
$sql_countresult = mysql_query($sqlcount);
list($totalrows) = mysql_fetch_row($sql_countresult);
$res = mysql_query($sql);
$num_ads = mysql_num_rows($res);
I did not code this and I'm struggling to understand the applic and PHP! So
I'm up to my armpits in alligators! LOL
I am trying to do the following
header ("Location: wlserver/index.php?userKey=$userKey&show=$userKey");
but I keep getting
Warning: Cannot modify header information - headers already sent by ...
The code on the header line above is not executing so I am assuming the
previous headers being sen
.
Again, thanks for the response.
Mike
"Sudeep" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Add this line at the top of the page:
>
>
>
> Your problem will be solved.
>
> ...SuDeEp...
>
> MikeA <[EMAIL PROTECTED]&
I am new to PHP (4.3.9) and have been working on an open source application
helping someone. At the same time I am learning PHP and honing my skills.
I've looked in the docs that came with PHP and tried to follow the example
but it was not well documented.
I have the following function. The fore
This is a foreach loop. How do I increase it?
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> increase the amount of the times you are looping by one.
>
> If you use a FOR loop and loop through the array by its length + 1
>
> Tryst
>
--
PHP Windows Mailing List (http://www.php.ne
I am getting the following error:
ErrorMsg for Database - Error:
There is no error being returned! I cannot figure out what the problem is.
So I am hoping additional eyes will catch it for me. I have debug set on
(as you will see in code below) and this is what is returned:
(mysql): SELECT *
WinXP Pro SP1
PHP 4.3.9
I am still learning PHP so please be gentle with me! LOL
I am trying to send mail from my PC. For some reason it is not working.
The line is
mail($email_to, $email_subject, $email_message);
There is no error or failure but the email is never sent.
I also found a Mail c
I am reading a file into an array ($data_old = file("config.old");) and then
processing it as I receive information from the user. As we all know, the
Internet is stateless, so I need to read back in the array after I get my
answer.
Array definitions are
$data_old = array();
$data_new = array();
ven't tried this but I suspect it should work; anyone aware of a limit
on
> the number of hidden elements in a form?
>
> Hope this helps,
>
> Warren Vail
>
>
> > -Original Message-
> > From: news [mailto:[EMAIL PROTECTED] On Behalf Of MikeA
> &
WinXP SP2
PHP 4.3.9
Apache 2.0.52
I have a script which sets a timeout for a script execution so it does not
go on forever in a loop or whatever. I keep getting a message that I cannot
set a timer in safe-mode. How else can I do this? Is there a way to
simulate a timer function?
Thanks.
Mik
"forever-running"
> scripts -
> PHP will kill them if they go on past that point anyhow.
>
> Check out the phpinfo() output if you don't have direct access to your
> php.ini file - this should be sufficient.
>
> -M
>
>> -----Original Message-
>&
Why would I want that? Is that the answer to getting around timeouts? I'm
not sure what you are telling me. Thanks.
Mike
"Jason Barnett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>A timer script? Go check out PEAR's Benchmark package.
>
> --
> PHP Windows Mailing List (h
I have a PHP file that outputs HTML to the Internet to a user. The user also
wants to be able to
print that output to a printer. The user wants it formatted with page breaks
in the proper place
and so on. Using one PHP script to do both, short of a line to display and a
line to print, is
ther
o.
http://www.php.net/manual/en/function.eval.php
Luis Moreira wrote:
> What do you mean by "it doesn't work" ?
> It does (the minitest, I mean).
>
> Luis
>
> MikeA wrote:
>
>> I have a PHP file that outputs HTML to the Internet to a user. The
>>
I am trying to output a JPG image to the browser without creating a file. I
have tried several
things but nothing seems to work. I sure could use a whole lot of help right
now! LOL Going crazy
trying to figure this out. But I know there are PHP gurus out there that will
have the answer in 2
s
ECTED]> wrote in message news:[EMAIL PROTECTED]
Sorry running from memory here. You need to set your output headers to
display a jpg not text. So you need something like:
header("Content-type: image/jpg");
This will display the image on its own, if you need to embed the image
in a
al Message
> From: "Wagner, Aaron" <[EMAIL PROTECTED]>
> To: "MikeA" <[EMAIL PROTECTED]>, php-windows@lists.php.net
> Date: Tue, Jan-18-2005 12:53 PM
> Subject: RE: [PHP-WIN] Output Image from Db to Browser
>
>
>
> > -Original Me
I am outputting pages to a browser. I would like those pages to go to a print.
However, I want them
to perform a form feed at a specific place. How can I do that using PHP? And
how can I hide it so it
does not show on the page? Is that a simple \f? That does show on the page.
Thanks.
Mike
-
I have some PHP scripts that put output to the browser. I can then print them.
However, I want to
have the pages form feed at specific places so the printouts look nice. How
can I do that?
Thanks.
Mike
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
IL PROTECTED]
You can define different style sheets based on the media that the HTML page
is rendered on:
Now use CSS to position your form feed as you like.
Read more here:
http://www.w3.org/TR/REC-CSS2/media.html
- Carsten
> -Oprindelig meddelelse-
> Fra: news [mailto:[EMAI
sheets based on the media that the HTML page
is rendered on:
Now use CSS to position your form feed as you like.
Read more here:
http://www.w3.org/TR/REC-CSS2/media.html
- Carsten
> -Oprindelig meddelelse-
> Fra: news [mailto:[EMAIL PROTECTED] vegne af MikeA
> Sendt: 28. januar 20
24 matches
Mail list logo