Yes all these things I know, because already I'm running these two servers,
but both with PHP4.
But now I came accros the problem of "php4ts.dll". Because in both versiones
it has the same name. And if I have the old one my \WINNT\SYSTEM32 the
server which is running PHP5 won't start, and if i put
hi to all,
I want to develop a system that can be access in a different port of the web
(such as in Port 11000). But i dont know how to do this without affecting
existing apache or other webserver installation. My idea is based on some
utilities that exists such as the Webmin Utilities that are
Paying attention to this line:
> Also if I use !isset it returns true with a null value for $theme
Well this is clear in the manual:
isset() will return FALSE if testing a variable that has been set to NULL
So !isset($a_Null) = !FALSE = TRUE
>From PHP Manual
=
$var = 0;
if (empty($va
are you talking about this ??
"Micah Montoy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Is there any way to jump out of PHP script but continue loading the HTML
on
> the rest of page?
>
> For instance I have this conditional and if its true, I want to
In order to use PHP on IIS6.0 you must allow IIS to use Unknown ISAPI
Extensions or Unknown CGI extensions in the Web Services section in the
IIS administration.
If you dont allow it, IIS dont parse any php file because it's not
allowed.
I hope this helps you...
Roberto
-Original Mess
ereg(".+")
--
- Eddy Wong
__
inframatrix internet solutions
http://www.inframatrix.com/
¥¿¤KEddy
Regular Octa-Eddy
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@¡½¢ª¢©
[EMAIL PROTECTED]@[EMAIL PROTECTED]@¡½ É\¿ß¡G [EMAIL PROTECTED]
[EMAIL PROTECTED]@¡½ É\¨¦¡G news://news.f
"Vernon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> OK when I use the mysql_escape_string() it adds the slashes so that the
> message will have \"the message\" so I've tried using the stripslashes()
as
> such:
>
> $message =
> stripslashes(mysql_escape_string($HTTP_POST_VARS[
Is there any way to jump out of PHP script but continue loading the HTML on
the rest of page?
For instance I have this conditional and if its true, I want to stop running
the rest of the script and I want the rest of the page to continue loading
that doesn't have any script.
thanks
--
PHP Gen
Hi,
How do i check with ereg() is a string is non-empty (!== '')
Thx
G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That worked like a charm.
thanks a lot
"Ulf Sundin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> try basename(). then just cut the extention with substr($string, 0, -4)
(-4
> if the extention is 4 characters i.e. .gif)
>
> Regards
> Ulf
>
>
> "Micah Montoy" <[EMAIL PROTECTED]> s
try basename(). then just cut the extention with substr($string, 0, -4) (-4
if the extention is 4 characters i.e. .gif)
Regards
Ulf
"Micah Montoy" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Anyone have a sure way of grabbing just the file name from a string that
> looks lik
I'm not sure if this is the same bug that is talked about in Bug #6178:
URI Re-writing failure but there is comments of this being fixed in php
v4.0.2 and I am using php v4.3.1
I have a page that contains a form with enctype="multipart/form-data" -
used to upload an image
The form data is sent to
HOLY COW,
I never laughed so hard in my life, This is DEAD ON, for what happens in
this exact forum.
Damn that [EMAIL PROTECTED] is funny!!
And I've only been here for about 3 months now. I've see about every one of
those in that short time. Boy that cracks me up.
Good find Richard!!
ha... :}
Anyone have a sure way of grabbing just the file name from a string that
looks like this:
C:/Documents and Settings/Bobo the Bugbear/My Documents/My Pictures/1.gif
I would like to pull off, just the name "1.gif" or even better just "1"
without the extension.
I've been working on:
$filevalue = s
I use the dll "php4isapi.dll" and it doesn't work, Could someone give me a
hand?
Thanks in advanced.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok some of you might not like this, others of you will know exactly what I
mean, but it just reminded me so much of this forum that I am sure some of
you will catch the humor in it:
http://www.mac-forums.com/forums/showpost.php?postid=5736&postcount=85
Please keep your flames directed at me inste
OK when I use the mysql_escape_string() it adds the slashes so that the
message will have \"the message\" so I've tried using the stripslashes() as
such:
$message =
stripslashes(mysql_escape_string($HTTP_POST_VARS['message']));
which then causes the orginal problem, so it seems that I keep tr
On Tuesday, July 8, 2003, 8:42:16 PM, Milan wrote:
MR> is there any posibility to run PHP4 and PHP5 at one machine, with two
MR> Apache servers running at the same time.
MR> Windows 2000 SP3
MR> Apache 1.3.27/PHP 4.3.0
MR> Apache 2.0.46/PHP 5.0.0b1
Yes it is possible. If you want both of the
adding slashes doesnt work like i said all that will show up in the box is a
slash \
Try mysql_escape_string()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ill second that.. err third that.. I like to hear announcements also.. as
long as they are PHP based of course :)
+1 for me also.
Rick
You will never be happy if you continue to search for what happiness
consists of. You will never live if you are looking for the meaning of life.
- Albert Camus
On Wednesday, July 9, 2003, 5:50:05 AM, Vernon wrote:
V> I know that using stripslashes will remove \ using php but I'm having
V> trouble with posting quotation marks in a text record field. Anyone know how
V> I can get them to post to the database? It's basically like an email and I'd
V> like any
apologies i hope it didnt look like i just hijacked the thread i was just
adding to it, this is a pretty serious issue though i dont think i've ever
come across it before funny enough as most the quoted text is in the
textarea instead , the quik fix i've done is to remove the quotes altogether
but
wow i've had this issue aswell only yesterday , like in my search page of
the project i've just done i stored the search values of each option so that
they can return bak to the search page and edit their search entry , anyway
the fulltext search text input can contain quotes denoting exact phrase
Wow.. There's a guy named Rasmus here. Is here(or u) the same person who
wrote that book? this is way cool..
Oh.. BTW, "PHP & Mysql Web Development" is GOOD.
Also, since a lot of codes are open sourced, Read through them as well. I'm
learning through that too. (& this list)
Cheers,
Mun Heng, Ow
I know that using stripslashes will remove \ using php but I'm having
trouble with posting quotation marks in a text record field. Anyone know how
I can get them to post to the database? It's basically like an email and I'd
like anything written to be able to post.
Thanks
--
PHP General Mailin
Hi Mike,
I finally got it. Thanks. All I needed to do was just define global
$page_title inside the function to denote that I wanted to use that
variable.
One other quick question, in my original code (per below) the function
create_global() was used to create_globals on demand. But this
i think you can use image counter a tag img connect to our script,
something like this
where the file phpcounter.php is generate counter in image form
Glory!
The problem I am facing is that my Index page can be an HTML page only..
not PHP. I cant use framesets, redirects etcetera.
I want
Hi Yann,
What you are trying to do is possible in PHP 4, actually:
var_name1 = "value1";
$this->var_name2 = "value2";
}
}
$test = new MyTester;
var_dump($test); // shows two variables, $var_name1 and $var_name2
?>
Here is sample code that uses __set to allow you to transparently
decl
I am wondering if the creators of this list could impose a rule... all
things must be PHP related... if you have an announcement and it is
related to PHP... it must be proceed in the subject line of the email
with the word "ADV" or "Annoucement" - that way if you don't want to
read it, you can dele
Personally I like to hear about new releases of PHP related products
here too. For how often it occurs, I can't see how 1 in 80 emails a day
is really going to impact the list. Especially since 10 to 20 emails are
generated in support or indignation for such announcements :)
+1
Cheers,
Rob.
On T
Hello,
This is a reply to an e-mail that you wrote on Wed, 9 Jul 2003 at 02:10,
lines prefixed by '>' were originally written by you.
> hi to all.
> i would like to know how to force to php to declare everything
> variable,
> example
> var $var;
> $var = bla,bla..
> var $var2 = array();
> $var2 =
After creating a new session with session_start() and inserting a few values
e.g $HTTP_SESSION_VARS['foo'] = 'bar'; a file /tmp/sess_{session_id} is
created.
The problem is that this file is empty! 0 bytes. no data is stored.
I'm using php 4.0.6 on linux with apache 1.3 something.
Regards
Ulf
-
Hi,
Wednesday, July 9, 2003, 10:38:22 AM, you wrote:
MG> I'm having trouble creating objects with DOMXML. As I loop through a level
MG> of nodes, I'm creating a new element based on the array's key name. The XML
MG> might look like this:
MG>
MG> Value 1
MG> Value 2
MG>
MG> So I'd be doin
change your error reporting level to E_ALL
You'll then get a warning|notice (can't remember which)
-Original Message-
From: mack paul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 9 July 2003 11:10 AM
To: [EMAIL PROTECTED]
Subject: [PHP] how to force variables declaration??
hi to all.
i wo
hi to all.
i would like to know how to force to php to declare everything variable,
example
var $var;
$var = bla,bla..
var $var2 = array();
$var2 = bla,bla..
and issue error when a variable is instanced without declare, some idea???:
--
PHP General Mailing List (http://www.php.net/)
To unsub
Since I can't see the source for append_child(), I'll assume you're using
the $key as the index??
If so, try changing it to just a numeric index, ie, 0, 1, 2, etc.
HTH
Martin
-Original Message-
From: Matt Grimm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 9 July 2003 10:38 AM
To: [EMAIL PR
> I've just read the other thread about spammers and such.
> Indeed, my announcement - even for a free platform - was not complying
> to the posting guidelines as it not a response to any questions asked.
>
> I apologize.
Where? The only guidelines that I can find for posting to this
OK. I think Imp the strange thing seeing things are and I don't think they
are. Anyway, disregard the last part about the Array. I had an echo
statement that I was using for testing buried in the code.
"Micah Montoy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> A couple more
A couple more things and I'll stop bugging everyone. I'm trying to get the
file name of the string. If it includes the extension that's fine as well.
I thought the code below would do this but its not.
$filevalue = str_replace("", "/", $filevalue);
//get specific file name
$parts = explo
I'm having trouble creating objects with DOMXML. As I loop through a level
of nodes, I'm creating a new element based on the array's key name. The XML
might look like this:
Value 1
Value 2
So I'd be doing this with DOMXML in a loop:
$thisChild = $doc->create_element($key);
$thisChild = $
Never mind. Its working.
thanks
- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Micah Montoy" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 5:43 PM
Subject: RE: [PHP] preg_replace - understanding
> > $filevalue = str_replace("\\", "/", $fi
You where right. That's what it was doing but now its not reversing the
direction. It at least is a single "\". Have an idea for reversing it. I
played with it a bit but still no go on this.
thanks
- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Micah Montoy" <
> $filevalue = str_replace("\\", "/", $filevalue);
>
> it is reversing the "\\" to "//" but not replacing them with just a single
> "/".
I think you need to escape your \ so each \ is \\ so your string should be
""
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
I took a look at the str_replace function and it will work but I am getting
a weird thing happening now. When I do:
$filevalue = str_replace("\\", "/", $filevalue);
it is reversing the "\\" to "//" but not replacing them with just a single
"/".
What may be causing this?
thanks
"Kevin Stone"
- Original Message -
From: "Micah Montoy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 4:01 PM
Subject: [PHP] preg_replace - understanding
> I'm trying to understand how the code works within the preg_replace
function
> but the manual is just obscure as the ex
I see that not many sites require the use of xml/xsl(t). Many sites can
just use html and database to accomplish 99.9% of the work.
I always suggest that when you have tons of data that you need to send
to the user that it is a good idea. Especially now that xslt is growing
up :)
I like to use xm
Yeah Ryan... I actually agree with the passive spamming issue...
Actually spamming in general... And don't take any offense to my
comments... LOL... Cause they totally weren't ment that way... Have a
great one!
Respectfully,
Joe
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
S
Hi,
I never said that it isnt a good product, heck it sounds like its a great
product...
I myself am a newbie here (a few months) pretty new to php compared to a lot
of guys here but have created some commercial scripts...imagine the old
fossils :-) here who have created loads of good scripts?
I ju
>I want to be able to e-mail myself the name of the variable that bombed
>out and the line that it was on (as well as the filename) if possible.
>Don't really know where to start... looks like this:
You can use PHP's predefined constants in an assertion, and
debug_backtrace().
http://www.php.net/
I'm trying to understand how the code works within the preg_replace function
but the manual is just obscure as the examples are. Anyway, I am looking to
use it to replace "\\" in a string with "/" and I can not figure how how.
At first, I thought I could just do:
$filevalue = preg_replace("'\\',
hi
i'd like to call an exe with several parameters like this:
the parameter -name= must have quotes from beginning til end because of the
Spaces between.
C:/Programme/Apache
Group/Apache2/htdocs/myexe.exe -action=add -name="My Own Task"
so i tried this in PHP... but it dows not work! It on
Alright, I've got an error reporting class with a report() method.
I want to be able to e-mail myself the name of the variable that bombed
out and the line that it was on (as well as the filename) if possible.
Don't really know where to start... looks like this:
function report ($error_var) {
|-Original Message-
|From: Petre Agenbag [mailto:[EMAIL PROTECTED]
|Sent: Tuesday, July 08, 2003 6:27 AM
|To: [EMAIL PROTECTED]
|Subject: [PHP] XML
|
|
|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.
The error you are providing here is because you do not have the required
libraries installed. Some of these modules require that the programs or
libraries be installed, php does not install them for you.
This is an extensive config. Are you sure you need all these. I see that
you are trying to ena
On Jul 8, 2003, "Alexandru COSTIN" claimed that:
|Hi,
|I've just read the other thread about spammers and such.
|Indeed, my announcement - even for a free platform - was not complying
|to the posting guidelines as it not a response to any questions asked.
|
|I apologize.
|
|
At 7/8/2003 02:18 PM, jwulff wrote:
> I have an array exampled below. I want to remove and use certain nested
> arrays from the larger array where the key == title, size, day, etc... How
> does an idiot like myself accomplish this?
You can reference it the same as you reference any other array.
Hey - thanks,
I will have a better sleep now knowing that we have made some of our
clients happy :) - and that they appreciate this.
Alexandru
"Joe Harman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey, I have used this companies free software... And ac
Hey, I have used this companies free software... And actually bought
some... They were extremely helpful when Macromedia lacked PHP support
in UltraDev... They probably have more free stuff that costly things...
Personally, by using their free stuff, I ended up learning a lot... And
the should be v
I have an array exampled below. I want to remove and use certain nested
arrays from the larger array where the key == title, size, day, etc... How
does an idiot like myself accomplish this?
Array
(
[0] => Array
(
[0] => title
[1] => by Month for Melvin
There is probably a better way than this... But I always use EPOCH when
I need to put something in order... You can then just write a function
to interperate the date when it need to be readable Hope that makes
sense
joe
-Original Message-
From: Shena Delian O'Brien [mailto:[EMAIL PRO
Okay Petre... You have asked the question that I always wanted to ask!!!
I can't wait to see peoples answer... I simply can't find a use for it
either
Joe
-Original Message-
From: Petre Agenbag [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 6:27 AM
To: [EMAIL PROTECTED]
Subje
Hi, in the past 2 days i have been looking into php5 and it's new
features.
I am not a psecialiste of OOP (only been OOPing for 2 month)
For a moment i tought that __set would allow me not to have to define a
methode __set that would set a value to a member variable.
It seems like we have to def
Doing this, it works. The variable 'url_variable' is changed when it pass
over the if. But I don't want to use a get variable, it could be easily
changed by the users... its my problem...
Maurício Valente
- Original Message -
From: "Ralph Guzman" <[EMAIL PROTECTED]>
To: "'Mauricio'" <[EMA
> cannot have multiple lines, use this
>
>little amount of
>
>text
This is true.
Also, watch the line endings coming aout of that textarea - you may want
to normalize them. I prefer unix linebreaks, so I use this to convert mac
and DOS endings:
str_replace(array("\r\n", "\r"), "\n", $tex
Hi,
I've just read the other thread about spammers and such.
Indeed, my announcement - even for a free platform - was not complying
to the posting guidelines as it not a response to any questions asked.
I apologize.
Alexandru
--
Alexandru COSTIN
Chief Operating
Hello!
first my code
#!/usr/local/bin/php -q
I read that posix_setsid return pid on succesfull detaching. But i get
-1. I read man for setsid and this -1 mean error.
What i want is that if i run this script with automatic detaching.
But it does nothing than waiting this for to finish.
What
Krysalis is a free platform licesed as LGPL.
It has some (periferic) commercial modules but 95% of the platform is
free and open.
What should I do to announce a new release of a free platform on a php
newsgroup without offending anyone?
Alexandru
--
Alexandru COSTIN
Didnt we just have a thread about spamming like this on the list?
- Original Message -
From: "Alexandru COSTIN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 9:22 PM
Subject: [PHP] New Krysalis version released
>
Hi!
Is there a way to verify that odbc_resut($result,1) is successfull or
not. I'm not talking about
--snip--
$result = odbc_exec($connect,$ask);
if ($result) { echo "Successfull!"; } else { echo "Failed!!"; }
--snip--
--snip--
$result = odbc_exec($connect,$ask);
$db_result =
Hello,
For the ones interested in XML/XSL publishing with PHP, we've just
released the Krysalis 2.4.1 version.
Includes a lot of features, fixes and performance improvements.
Check http://www.interakt.ro/index_news_162.html for more details.
Our XML-schema support is being wor
Actually, I think I found the issue. Now I am getting:
configure: error: build test failed.
And I changed my config to be:
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --with-mysql
--with-png --with-pear --with-gettext=/usr --enable-safe-mode --with-config-
file-path=/etc/ht
I am doing a new compile of PHP (4.3.3) - anyone know what this error is?
configure: error: libgds or libib_util not found!
Here is my configuration:
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --enable-safe-mode --wi
th-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib
Hello:
I am installing pear(for mssql support) and I am getting
an Invalid block size 283 error. Any Ideas?
Thanks
chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This function is what I used:
function getId ($ip) {
$ipData = file('idData/ips.txt');
$ipData = array_flip($ipData);
$id = $ipData[$ip] + 1;
return $id;
}
It is defined in idData.inc.php which is required in the file with the
problem (controlPanel.php).
I decided to ban a third
How about:
if($_GET['url_variable'] != $url_variable){
$url_variable = $_GET['url_variable'];
session_register('url_variable')
}
-Original Message-
From: Mauricio [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 11:14 AM
To: PHP
Subject: Re: [PHP] Refresh PHP
Hello Ralph,
Disposition-Notification-To: is not a sure bet, since the majority of
people ignore the return receipt.
The only way you will know if the email address is invalid is when the
email bounces back and the server sends you the error message. At this
point you can have a script check the email server s
On 8 Jul 2003 at 11:17, [-^-!-%- wrote:
>
> Is there anyplace to download a pre-compiled PHP module?
> I'm looking for the php_imap.so module.
>
> Environment: PHP 4.2.3/Apache on Redhat Linux i386.
> Please advise.
>
get the php-imap rpm
--
PHP General Mailing List (http://www.php.net/)
To
On Tue, Jul 08, 2003 at 06:47:26AM -0500, Wendell Brown wrote:
>
> I think this would do better...
>
> if( preg_match( "/P[\. ]*O\.* +BOX/i", $address ) )
Unless preg_match does something non-standard, you don't need to escape
a period that's inside square brackets. In fact, the regexp you've
Hello Ralph,
Actually, after calling session_destroy() I reset those variables assigning
an empty value like you said. But it still doesn't work. I did a test after
destroying session variables, printing them. They are empty.
Another weird thing is that when a login as "joao" them logoff, exclud
Is there anyplace to download a pre-compiled PHP module?
I'm looking for the php_imap.so module.
Environment: PHP 4.2.3/Apache on Redhat Linux i386.
Please advise.
-john
=P e p i e D e s i g n s
www.pepiedesigns.com
Providing Solutions That Increase Productivity
Web Developement. Database.
Ahh, you're right! I had a rogue:
$date = date("m-d-Y", filemtime($fn));
in there. :) Thought I got rid of all of those in testing... my
organization has a standard date format and it must be dashes instead of
slashes, and of course it has to be month, day, year!
Jason Wong wrote:
On Wednesday
On Tuesday 08 July 2003 22:53, George Papatheodorou wrote:
> 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 c
On Wednesday 09 July 2003 01:51, Shena Delian O'Brien wrote:
[snip]
> Well I gradually figured out that the date format output by filemtime()
> was not an acceptable natural language date format. filemtime() was
> fetching dates with a dash - ex. 07-08-2003. strtotime() was making
> incorrect tim
Thanks Wendell. This is exactly what I was looking for.
-Original Message-
From: Wendell Brown [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 4:47 AM
To: PHP General Mailing List
Subject: Re: [PHP] Regular Expression
On Mon, 07 Jul 2003 21:59:23 -0700, Ralph Guzman wrote:
>I hav
Ok so on a web application I needed to list the files in a directory,
ordered by last modified date.
I was pulling them out in an array, fetching the filemtime() for each
file, and trying to order them by that date. I was using asort() to sort
the files in an array so they'd list chronologicall
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
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:
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
> 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
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
> 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
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
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
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
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
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,
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
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
> 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
-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
1 - 100 of 185 matches
Mail list logo