I have a select box that is filled with multiple values and when the user
clicks submit, it hightlights all the values in the select box and then
sends this to my PHP file.
I did a simple:
echo ($_POST["imgList"]);
to see what was happening and the only value being carried across is the
last val
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> I have a select box that is filled with multiple values and when the user
> clicks submit, it hightlights all the values in the select box and then
> sends this to my PHP file.
>
> I did a simple:
>
> echo ($_POST["imgList"]);
>
> to s
Hi,
>> btw what would be nice is a print_raw command that does no
>> parsing just sends the stuff :)
>> (Would be good for template systems where you know there is no php
>> hidden in there.) ... might gain a couple of micro seconds
PO> I believe this is called "breaking out of PHP mode
PO> and i
I can't believe I totally overlooked that. Thanks. That solved the problem
completely.
"David Robley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> says...
> > I have a select box that is filled with multiple values and when th
Hi,
Tuesday, July 8, 2003, 5:22:04 PM, you wrote:
TR> Hi,
>>> btw what would be nice is a print_raw command that does no
>>> parsing just sends the stuff :)
>>> (Would be good for template systems where you know there is no php
>>> hidden in there.) ... might gain a couple of micro seconds
PO>>
Hi everyone,
I have a doubt, an existential question on the PHP... Yesterday I had an
entrevue for a job and I was quite surprised by the technical director
that told me that he prefers coding PL/SQL subroutines better than in
PHP embedding. The Oracle database on which he works is about 100 Go.
T
Anyone??
Is this a bug or something else?
[EMAIL PROTECTED] wrote:
After upgrading from 4.2.3 to 4.3.2 apache fail to load with an error:
"Invalid command 'php_admin_value', perhaps mis-spelled..."
php_admin_flag also fails.
I tried with and without php.ini.
php was compile with --with-apxs --w
Hi. I'm surprised you haven't been jumped on already for this one. Variables in
double-quoted and heredoc-style strings are expanded; variables in single-quoted
strings
aren't. I refer you to the excellent PHP manual -- one of the first pages you should
absorb...
http://www.php.net/manual/en/l
> Hello, i need a function that gets a internal file say news.php, and
follows
> the urls from its copied location,
>
> say if i am in
> /pages/
> and i need a file from
> /pages/php/wow
>
> i put
> include('php/wow/news.php')
> But the news.php file needs a file in the /php/wow directory called
>
I read your regex as
-match start of line
-followed by p, followed by o
=followed by single space
-followed by b,o,x
-followed by end of line
If someone puts in PO BOX 343, then your regex will not match.
If someone puts in PO BOX 12, then your regex will not match.
If you're saying that you
On Tue, 8 Jul 2003 09:35:10 +0100, you wrote:
>> Hello, i need a function that gets a internal file say news.php, and
>follows
>> the urls from its copied location,
>>
>> say if i am in
>> /pages/
>> and i need a file from
>> /pages/php/wow
>>
>> i put
>> include('php/wow/news.php')
>> But the new
PHP is designed for rapid development of web applications. Manipulating
relational database data is not its strong point. If I had a complicated
database manipulation that could be done within and oracle stored procedure,
and the database was large, or expected to get that way, I would strongly
c
Is imgList an array, and did you specify it as such in the form? Are you
foreach() through the array to get the contents?
-Original Message-
From: Micah Montoy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 12:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP] multiple select box not s
Hello everyone,
I have a long running problem that i just want to get covered, I have a standard text
box for people to insert long lengths of text.
This text box is in a standard but when I insert it into the
database the line returns dissapear, eg
"this
little amount of
text"
will ente
I've experienced the same problem. It's not that the line returns disappear - they
will still be retained but stored as /n or /r.
You'll need to find a way of replacing the line breaks with a html paragraph break -
assuming your required output is html. Perhaps some of the regexp functions wil
on Tue, Jul 8, 2003, David Otton wrote:
>>> Hello, i need a function that gets a internal file say news.php, and
>>follows
>>> the urls from its copied location,
>>>
>>> say if i am in
>>> /pages/
>>> and i need a file from
>>> /pages/php/wow
>>>
>>> i put
>>> include('php/wow/news.php')
>>> But t
On Mon, 2003-07-07 at 21:31, Micah Montoy wrote:
> It did help and I altered the script a bit. It now reads as:
[snip]
> Now I am receiving the error message of:
>
> Warning: Invalid argument supplied for foreach() in
> c:\inetpub\wwwroot\webpage10\example\u_images\act_load_imgs.php on line 43
I don't know if this is possible but...
I want to generate a PHP file on the fly. I am trying to use fputs but I
have a problem in that it doesn't print a variable name in the string.
Here is my code:
Formid is being passed into the string great which is what I want but
how do I get the string to
Hello,
I've found problem with MSIE showing sometimes blank page when
compression is turned on (no matter using zlib.output_compression or
gzip handler). I've found that happens when page is <=4096 bytes long
(output in HTML). And this suggested me to try to change buffer size
for compression (for
You'll have to quote the $ like $string="blablabla \$myvariable
blablabla\n";
or you put your string in ' instead of " then you only have to quote the '
if you want to use it in your string.
For more information look
http://www.php.net/manual/en/language.types.string.php#language.types.string
.synt
Hi List
Firstly, this question is arguable more about XML than PHP, but they are
interlinked, so I hope it is "topical" for this list.
Firstly, Where I come from:
I am VERY comfortable with PHP/MySQL on Linux and understand all those
concepts.
Now I'm trying to see the benefits of XML, and quit
On Tue, 2003-07-08 at 02:29, [EMAIL PROTECTED] wrote:
> Hello everyone,
>
> I have a long running problem that i just want to get covered, I have a standard
> text box for people to insert long lengths of text.
>
> This text box is in a standard but when I insert it into the
> database the lin
> -Original Message-
> From: Ow Mun Heng [mailto:[EMAIL PROTECTED]
> Sent: 07 July 2003 04:34
>
> Here's My question, a variable is not actually global is not
> actually global until I make it global through "global
> $make_this_global"
> and then I can assess it using $GLOBAL[$make
> -Original Message-
> From: Heiko Mundle [mailto:[EMAIL PROTECTED]
> Sent: 07 July 2003 11:08
>
> I try to use PHP and Apache on both Linux (SuSE 8.1) and Windows (2K).
>
> On Linux I can access the PHP scripts without adding the .php
> extension.
> E.g.
> http:///?para1=TRUE
> for
> ht
cannot have multiple lines, use this
little amount of
text
Michael Egan wrote:
I've experienced the same problem. It's not that the line returns disappear - they will still be retained but stored as /n or /r.
You'll need to find a way of replacing the line breaks with a html paragraph break
> -Original Message-
> From: Jeff Harris [mailto:[EMAIL PROTECTED]
> Sent: 07 July 2003 23:27
>
> After coding for a while, I would suggest that while you're reading
> through coding excercises, you find a coding style that works
> for you and
> keep it consistant. One of the least fun pa
Hi. Im coding a poll system which stores information in MySQL.
When a new poll is created a new row is inserted in the table polls.
There I keep basic information such as the question, id etc. But should
I keep the poll options in one field also? Then I would create an array
from the poll optio
Hi !
I'm an intern working as a developer for a company. I'm in charge of
writing an extension to the Zend engine, much like the GD library. I was
wondering what are the PHP license requirements for the code and
binaries. Anyone enlighten me?
Thanks.
- Matthieu
--
PHP General Mailing List (htt
On Mon, 07 Jul 2003 21:59:23 -0700, Ralph Guzman wrote:
>I have a form where I have to check whether user is submitting a PO Box
>as an address. I wrote the following using eregi, but it returns true
>even when the field is not Po Box. How do I go about doing this
>properly?
>
>if(eregi("^Po Box$"
It depends on the number of options, if you only have a small number of
options you could just hold them in a VARCHAR, then rebuild the options
array from that
Say you had four on/off options, you could store them in a VARCHAR(4) as
"yyny" then rebuild the array with a simple for loop or just buil
For a logging system that I've been writing I came up with a way to asign
a unique id number to every IP address that visits the site. What I do
is append every *new* IP to a new line in a file (ips.txt). Then when I
have an IP and need the id I file() the ip log to put it in an array,
array_flip
No, use another table, poll_options:
poll_option_id, poll_id, option_text, vote_count
hope the structure is self explanatory.
Sævar Öfjörð wrote:
Hi. I’m coding a poll system which stores information in MySQL.
When a new poll is created a new row is inserted in the table ‘polls’.
There I keep ba
Because it is desirable to create many small tables over one very large
table I usually allow PHP to create dynamic tables. For instance, you
could have a table called polls, and use the row id to create a unique
table:
-Dan
On Tue, 2003-07-08 at 07:28, Sævar Öfjörð wrote:
> Hi. Im coding a po
> Hello,
>
> I've found problem with MSIE showing sometimes blank page when
> compression is turned on (no matter using zlib.output_compression or
> gzip handler). I've found that happens when page is <=4096 bytes long
> (output in HTML). And this suggested me to try to change buffer size
> for co
[snip]
PHP is designed for rapid development of web applications. Manipulating
relational database data is not its strong point.
[/snip]
At the risk of starting a flame war .
I think a lot of folks would take exception to the above statements. PHP
is being used for complex web-apps, command
Hello World!
I'm interested in starting a project to broadcast music via PHP to a
ShoutCAST DNAS. I'm wondering, is it possible to do this? I've searched
around for good tools to broadcast but none supports my needs. As for
now I'm using PHP 4.3.2 under Linux and Windows. I want this to be a
c
as always if PHP runs at even 10% of the speed of C++ (yes, i know it's
faster), and most scripts would take several miliseconds in C++, the
benefits of using a language with bounds checking, and ease of
programming are immense.
-dan
On Tue, 2003-07-08 at 08:49, Jay Blanchard wrote:
> [snip]
> PH
[snip]
But then it will go and do something like this:
Array (
[0] => 172.170.69.74
[1] => 172.141.183.231
[2] => 172.137.79.102
[3] => 172.151.144.242
[4] => 172.150.212.129
[5] => 172.158.154.92
) // correct array
Array (
[172.170.69.74 ] => 0
[172.141.183.231 ] => 1
[
I fooled with this sort of thing a long time ago, I
believe I found out it was completely possible so long
as you get the song broken buffering according
to what shoutcast expects to recieve or something similar
to this.
On Mon, 2003-07-07 at 23:51, Simon Fredriksson wrote:
> Hello World!
>
> I'
If I set permissions of my server root to chmod 777 that's a security
risk right?
How do I set my server to allow me to write a file to my web root from
another directory using PHP? Or is it a Unix problem?
I have a generator file writes a string to a text file and then renames
the text file as a
what specifically are you attempting to do ? do you wish to market the
extension ? donate it to the PHP community ? if the former, then im fairly
certain the license allows it. as for the latter, its best to license your
code under a non-GPL, OSI approved license (BSD, LGPL, PHP, etc).
makes sure
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hello everyone,
>
> I have a long running problem that i just want to get covered, I have a standard
> text box for people to insert long lengths of text.
>
> This text box is in a standard but when I insert it into the
> database th
Hello,
I have many of my clients set up in 'safe_mode' mainly for security reasons.
Well, as many of you know, that limits the way PHP functions. Especially on
complex apps.
Here is what I include in their httpd configs now...
php_admin_flag safe_mode on
php_admin_flag regist
I like this:
http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/
Last time I've readed help there wasn't support for formulas.
Anybody know sth which can output formulas?
Mainly I need SUBTOTALS, which can show "plus-minus" to hide some rows.
Or another tip how to do it. Thanx
E
Hello,
Good to see someone else met that "feature" of MS Internet
Exploder ;)
At really I don't put any headers with content info.
Only headers are:
header ('Last-Modified: '.gmdate("D, d M Y H:i:s").' GMT');
header ('Expires: '.gmdate("D, d M Y H:i:s").' GMT');
header ('Cache-Control: no-cac
I noticed that in all versions before php5 (I haven't seen this one
yet), a script cannot open a file for writing mode is the file's owner
is different from php's owner. Eg when php's owner is apache and
test.php's owner is user1, user1's script cannot write in test.php but
it can write to test2.p
fuk me this is much better than bifwriter
-Original Message-
From: [cz]Emo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 11:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP to Excel Export
I like this:
http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/
Last
Hello once more,
Tuesday, July 8, 2003, 3:25:31 PM, you wrote:
MO> Hello too,
MO> Well yes, IE is not that wrong this time (though it changes nothing at all :))
MO> Take a look into the - section of your document, maybe there is
MO> some content-encoding sent or your apache config (maybe some de
Well, this is proprietary back-end stuff, so in a way, it won't be
marketed but it'll have to remain the propriety of the company and be
closed-source. As far as I've understood the PHP license, all i'm
required to do is not to make use of the name "PHP". But I'm not a
lawyer and I wanted to ch
On Tue, 2003-07-08 at 07:21, Steve Jackson wrote:
> If I set permissions of my server root to chmod 777 that's a security
> risk right?
> How do I set my server to allow me to write a file to my web root from
> another directory using PHP? Or is it a Unix problem?
>
> I have a generator file write
[snip]
> My looks like that - nothing special..
>
>
>
> Some title
>
>
>
[/snip]
sorry list for the mess in this thread. got somewhat wrong.
try to take the following line out:
(modifing to output correct type would be even better)
regards
mario
--
PHP General Mailing List (http://ww
Without seeing any code, we can only guess. But do you have at least
two, and no more than three parameters for the fputs() fuction?
fputs
(PHP 3, PHP 4 )
fputs -- Writes to a file pointer
Description
int fputs ( resource handle, string str [, int length])
fputs() is an alias to fwrite(), and
Hi people!
Did anyone get this situation?
I'm creating a Site that uses 3 session variables. One of them I always
print at the top of the page, it's the name of the user. There is a link
that calls the function session_destroy(). Everytime that I follow this link
and log in with another user, tha
--- Michael Egan <[EMAIL PROTECTED]> wrote:
> I've experienced the same problem. It's not that the line returns
> disappear - they will still be retained but stored as /n or /r.
>
> You'll need to find a way of replacing the line breaks with a html
> paragraph break - assuming your required out
Try adding a random number to the end of your
URL.index.php?$randomnumber
-Original Message-
From: Mauricio [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 10:02 AM
To: PHP
Subject: [PHP] Refresh PHP
Hi people!
Did anyone get this situation?
I'm creating a Site that uses 3 s
Berber:
> Did you solve this issue?
No, this issue was not resolved.
> What does $_SERVER["HTTP_HOST"] return?
It returns the IP address that is assigned to the website. There is no
domain assigned, just the IP. When there is a domain assigned it would
assign the domain...
>
> Sincerely
>
George:
Thanks for getting back...
> Just a thought - are you outputting any HTML on the page where you are
> declaring your cookie?
>
> If not, then it won't work.
I am outputting HTML on the page AFTER the cookie, and it does work, on
other servers
> I got stuck a few months back with a
Hello,
On Tuesday July 8 2003 15:42, George Papatheodorou wrote:
> I noticed that in all versions before php5 (I haven't seen this one
> yet), a script cannot open a file for writing mode is the file's
> owner is different from php's owner.
if user2 other than owner is trying to write to file w
Hello
If you simply want to check if the fields contains Po BOX simply use the
stripos function or one of the other string functions. They should be
faster than reg ex.
If you still want to use reg ex I suggest using preg_match since it is
faster than ereg.
About your regex:
It will not find o
Hi,
I know this is really basic but i have a form for users to enter the
date of an event that i would like to store in a mysql database how do i
get the users input into the database in the right format.
Check out the license at the source:
http://www.php.net/license/
http://www.trolltech.com/products/qt/freelicense.html
Quoting:
Q. So, what's the point of the Zend license? When should I be concerned
about it?
A. You should be aware of the Zend license in two cases. First, if you
publish patch
> I know this is really basic but i have a form for users to enter the
> date of an event that i would like to store in a mysql database how do i
> get the users input into the database in the right format.
Read up in the manual of mySQL, and the parts of the PHP doc on mySQL.
mySQL dates are s
The strange this is that user has writing access to the file, and so
does his group. I even changed permissions to rw-rw-rw and the script
could still not write in the file. The only solution came when I told
the server manager to change the files owner to thttpd (not apache as
mentioned above, it
Hi Mike,
Here's the thing.. I declared $page_title = "My Page Title" in a
file called config.php which is included in the index.php page. when I tried
to -> echo $page_title <- Nothing comes out.
If I declared it as global $page_title , then "My Page Title" would
be echoed out.
On Tuesday, July 8, 2003, 1:26:43 PM, Petre wrote:
[ snip ]
PA> Now on M$ systems, it seems that IIS has built in ActiveX XMLDOM parsing
PA> built in, and you can "easily" parse the XML document by using ASP etc.
PA> So can I assume that this is also true with PHP/Apache, ie, Apache has a
PA> bu
> Hi,
>
> I know this is really basic but i have a form for users to enter the
> date of an event that i would like to store in a mysql database how do i
> get the users input into the database in the right format.
>
>
For date validation I always use a javascript calendar thingy available fro
XML is a way to store data in a structure format that is correct and is
platform independent; meaning u can share data with anything that
understands xml format.
For web applications xml allows you to send data to the client and have
the browser do the parsing for you. (I would suggest ie5.5 and n
Hi,
I need to read a whole file
and then look for an info on it, i want to know with
which function is better, fopen(), fpasstrhu()...fseek()
Thanks,
Carlos A. Castillo.
Ingeniero de desarrollo
[EMAIL PROTECTED]
Su Aliado Efectiv
Mike Ford wrote:
>> -Original Message-
>> From: Jeff Harris [mailto:[EMAIL PROTECTED]
>> Sent: 07 July 2003 23:27
>>
>> After coding for a while, I would suggest that while you're reading
>> through coding excercises, you find a coding style that works
>> for you and
>> keep it consistant.
Thank you for e-mailing Tesco.
Your e-mail has successfully reached us and we will deal with your enquiry
as soon as possible.
Kind regards
Tesco Customer Services
TRACKING NUMBER: A2381222-00010838003
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
I keep getting Parse error: parse error, unexpected T_LNUMBER in
/usr/local/psa/home/create.php on line 9
This is line 9, which should just create a table.
$result = mysql_query('CREATE TABLE members (userid INT(25) NOT NULL
AUTO_INCREMENT, first_name VARCHAR(30) NOT NULL, last_name VARCHAR(50)
http://192.168.0.1/index.php?DSE=matrix&access=31337#herd
1. Grab the Anchor reference "herd" from the fake URL above and store
it as a variable using PHP.
You already know the facts...
QUERY_STRING: DSE=matrix&access=31337
REQUEST_URI=/index.php?DSE=matrix&access=31337
HTTP Request: Get /index.ph
Umm quotes.
Anywhere in your actual SQL that you are using a single quote,
you need to put a backslash before it, example:
activated ENUM('0','1') DEFAULT '0'
Becomes:
activated ENUM(\'0\',\'1\') DEFAULT \'0\'
On Tue, 2003-07-08 at 11:26, Artoo wrote:
> I keep getting Parse error: parse err
Thanks.
- Original Message -
From: "Adam Voigt" <[EMAIL PROTECTED]>
To: "Artoo" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 11:31 AM
Subject: Re: [PHP] what's wrong with this?
> Umm quotes.
>
> Anywhere in your actual SQL that you are using a single quo
> -Original Message-
> From: Ow Mun Heng [mailto:[EMAIL PROTECTED]
> Sent: 08 July 2003 15:53
>
> Here's the thing.. I declared $page_title = "My Page Title" in a
> file called config.php which is included in the index.php
> page. when I tried
> to -> echo $page_title <- Nothing com
On Tue, Jul 08, 2003 at 11:26:52AM -0400, Artoo wrote:
>
> I keep getting Parse error: parse error, unexpected T_LNUMBER in
> /usr/local/psa/home/create.php on line 9
>
> This is line 9, which should just create a table.
>
> $result = mysql_query('CREATE TABLE members (userid INT(25) NOT NULL
look up two functions in the online manual. strtotime() and date()
strtotime will give you a unix timestamp for just about any date possable,
date will format it the way you need. to get it into a mySQL date field,
basicaly, you do this:
date("y-m-d", strtotime($_POST['date']))
where $_POST['da
But them how i can look for the tag i need if i have the file in an
array, i need to read an xml file and extract the info between tags
and .
Thanks,
Carlos A. Castillo.
Ingeniero de desarrollo
[EMAIL PROTECTED]
Su Aliado Efectivo en Internet
www.imagin
With all due respect to everyone, including the alleged spammer, this
has been my rule since '84.
If you are in a discussion group, dont advertise something unless
someone posts a question where a product would act as a specific
solution to their specific need. The advertiser would then be exp
This is a forwarded message
From: Burhan Khalid <[EMAIL PROTECTED]>
To: Carlos Castillo <[EMAIL PROTECTED]>
Date: Tuesday, July 8, 2003, 6:14:45 PM
Subject: [PHP] Read a file
===8<==Original message text===
On Tuesday, July 8, 2003, 6:08:20 PM, Carlos wrote:
CC> I need to r
implode the array and explode it when you're done...
-dan
On Tue, 2003-07-08 at 11:52, carlos castillo wrote:
> But them how i can look for the tag i need if i have the file in an
> array, i need to read an xml file and extract the info between tags
> and .
>
> Thanks,
>
> Carlos A. Castill
On Tuesday, July 8, 2003, 6:52:56 PM, carlos wrote:
cc> But them how i can look for the tag i need if i have the file in an
cc> array, i need to read an xml file and extract the info between tags
cc> and .
Well, I wish you would have said that earlier. Parsing XML files is
different than par
Hi All,
I'm struggling with a session problem and I'm not sure where I should be
looking for the answer.
Most of my pages begin like this:
include_once('cfheader.php');
$feedback = cfHeader("Main Page");
//Start of page code
==
The anchor is not send but rather implemented in the browser. Clientside
javascript does have the ability - window.location.hash
Kris Yates wrote:
http://192.168.0.1/index.php?DSE=matrix&access=31337#herd
1. Grab the Anchor reference "herd" from the fake URL above and store
it as a variable usi
You need to make sure that when you are being directed to the other pages that the session
name and session id are being passed. Check session.use_trans_sid in the sessions section
of phpinfo(). The session name and id are available globally after a session has been
started as the constant SID
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Here is a good session tutorial, maybe it will help you see something
your missing.
http://www.sitepoint.com/article/319
- ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
Want reliable web hosting at affordable prices?
www.modevia.com
Web
> This works fine on my development PC, (PHP v 4.3.1) and on
> my primary test
> site (PHP v4.2.2).
> However when I try it on the target site (PHP v4.1.2) then I find that
> immediately after starting the session everything works fine,
> however when I
> move to any other page the session infor
Thanks, i already solve that problem, but now i have
another...sorry...jejejeje.
Look I need to change the permissions for the files, I use
$cmd = "chmod 644 $archivo";
system($cmd);
but I can do it, only the root can do thatyou have an idea how I can
do it?
Thanks,
Carl
I've a script reading a mailbox using
$InBox = imap_open($Host,$User,$Pass);
$NumMsgs=imap_num_msg($InBox);
for ($i=1; $i <= $NumMsgs; $i++)
{
$Header=imap_header($InBox,$i); # this is line 154
.
.
.
and so on.
With 12 messages in the mailbox this works fine, but with 15 it comes
back as timed out
Umm, sudo?
On Tue, 2003-07-08 at 12:49, carlos castillo wrote:
> Thanks, i already solve that problem, but now i have
> another...sorry...jejejeje.
>
> Look I need to change the permissions for the files, I use
> $cmd = "chmod 644 $archivo";
> system($cmd);
>
> but I can do it,
Put:
set_time_limit(0);
At the top of your script.
On Tue, 2003-07-08 at 12:45, Amer Neely wrote:
> I've a script reading a mailbox using
> $InBox = imap_open($Host,$User,$Pass);
> $NumMsgs=imap_num_msg($InBox);
> for ($i=1; $i <= $NumMsgs; $i++)
> {
> $Header=imap_header($InBox,$i); # this is
You might want to look at patConfiguration:
http://www.php-tools.de/
It can read/write text and xml files.
-Original Message-
From: carlos castillo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 8:53 AM
To: 'PHP List'
Subject: RE: [PHP] Read a file
But them how i can look for
see the set_time_limit(); function
http://uk2.php.net/manual/en/function.set-time-limit.php
increase to around a minute or make the mailbox read them back in pages
with 10 at a time for example
Pete
Amer Neely wrote:
I've a script reading a mailbox using
$InBox = imap_open($Host,$User,$Pass);
$N
Ok, I have an interesting one here. I'm trying to send an e-mail from
Server A, through Server B, and to a recipient using PHP on Server A.
Server B relays the e-mail because Server A does not have an internet
connection. Now, I want to request a read/delivery receipt for the user
sending the mai
> Put:
>
> set_time_limit(0);
>
> At the top of your script.
Excellent! That worked, thank you.
Now I'm getting ..
[08-Jul-2003 12:32:46] PHP Notice: (null)(): Unexpected characters at
end of address: <> (errflg=3) in Unknown on line 0
And the output is a blank html page, but the source code
Is error_reporting in your php.ini set to "E_ALL & ~E_NOTICE" ?
On Tue, 2003-07-08 at 13:09, Amer Neely wrote:
> > Put:
> >
> > set_time_limit(0);
> >
> > At the top of your script.
>
> Excellent! That worked, thank you.
>
> Now I'm getting ..
> [08-Jul-2003 12:32:46] PHP Notice: (null)(): U
> Is error_reporting in your php.ini set to "E_ALL & ~E_NOTICE" ?
>
It's the default:
error_reporting = E_ALL
--
/* All outgoing email scanned by AVG Antivirus /*
Amer Neely, Softouch Information Services
W: www.softouch.on.ca
E: [EMAIL PROTECTED]
V: 519.438.5887
Perl | PHP | MySQL | CGI progr
I am trying to help one of our admins with a php config/setup issue on one
of our servers; the admin re-compiled php, but did not include all of the
correct settings. Outside of having the previous make and config files, is
there any other files on the server that may hold the old settings so tha
Hi,
is there any posibility to run PHP4 and PHP5 at one machine, with two
Apache servers running at the same time.
Windows 2000 SP3
Apache 1.3.27/PHP 4.3.0
Apache 2.0.46/PHP 5.0.0b1
Thank You for Answers Milan
--
--
Milan Reznicek
Software Developer
e-mail:
If you still have the older version of PHP running, you can use
phpinfo(); and look under Configure Command to see how PHP was
originally configured.
Otherwise, just look at PHP configure options and figure out what
settings you need:
http://www.php.net/manual/en/install.configure.php
-Orig
1 - 100 of 185 matches
Mail list logo