Jon,
Dolphins and porpoises are often mistaken for one another. But, the noble
porpoise is an oceanic creature, venturing into the deepest of waters--as
does php : )
Hugh
- Original Message -
From: Jon Niola <[EMAIL PROTECTED]>
To: Hugh Danaher <[EMAIL PROTECTED]>; Dan McCullough
<[EMAIL
I think MySQL has that already ;)
At 12:33 PM 12/11/2001 -0800, Hugh Danaher wrote:
>How about a porpoise. They're fast, intelligent, and as Lewis Carol said,
>"you shouldn't go anywhere without a porpoise."
>- Original Message -
>From: Dan McCullough <[EMAIL PROTECTED]>
>To: PHP General
Here is something that may help you:
http://www.cba.ua.edu/~spaff/
I have yet to try it but plan on it soon. Apparently you have to patch the
configure script and it will work :)
Let me know how it works out
--Jon
At 09:11 PM 12/11/2001 +0100, Thies C. Arntzen wrote:
>On Tue, Dec 11, 2001 at
LOL, I guess Python is spoken for too ;)
--Jon
At 11:32 AM 12/11/2001 -0800, Andrew Chase wrote:
>Maybe an animal beginning with "P" would be a good Mnemonic device (and good
>for alliteration; think "The PHP Panda" or "The PHP Platypus".) Hmm, I
>guess Panda and Platypus aren't particularly "p
You would need to have write access to the php.ini file as well as execute
access to the httpd binary to do a server restart in order to initialize
with new configuration.
--Jon
At 11:54 AM 12/11/2001 -0500, John King wrote:
>Ahh, Thanks. Ok I don't see it so it must not be enabled. PHP is ins
>>My problem (due to my lack of fundemental understanding) is that I don't
know how to read Paypal's response to the post. >>Paypal describes the
response like this,
>>"PayPal will respond to the post with a single word,
'VERIFIED' or 'INVALID', in the body of the response."
YES EXACTLY. it
I'm close to finishing a php script for Paypal's Instant Payment Notification Service.
Here is what I have so far.
I grapped this function off of the php documentation and added the last line. This
forms the response to be posted back to Paypal.
***
This might be a stupid question but I have grown fond of easy little one
stop package installations so...
I am running a cobalt raq4 server and installed php4.06 w/ NEWGD and now
want to include pdflib to that configuration. But, since I installed php
4.06 with a package installer from cobalt, I
Yeah, yeah, tried that already. ;-) Unfortunately Lynx isn't
installed by default on this puppy, and I'd rather not go through the
trouble of installing more software. If that's the ONLY way, then I
suppose I'll end up doing it, but there aren't any other mirrors where
I can just wget the sourc
Open up a console and use lynx.
Miles Thompson
At 06:26 PM 12/11/2001 -0800, Erik Price wrote:
>Is there a way to download PHP without clicking the link in my browser?
> Right now I can't use my Xwindows so I need to use wget, curl, or ftp.
> I've tried using the hypertext reference (HREF) fro
Sure... sort of :)
This is what I do...
- in your webserver config file set auto_prepend.php to point to the
following file:
---
---
Now if any directory con
Is there a way to download PHP without clicking the link in my browser?
Right now I can't use my Xwindows so I need to use wget, curl, or ftp.
I've tried using the hypertext reference (HREF) from the link at my
nearby PHP mirrors, but it must be browser-dependent because none of
the wget attempt
I started to use FTP functions and I would greatly appreciate some
confirmation :
- It is not using FTP function than I can download file to a client's
computer. (is there a way other than the ?)
- I can not read the name of the files that are on a client's computer. (The
client would select a
You can use the special name "parent". e.g.:
parent::baseClassFunction();
-Original Message-
From: christian calloway [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 08, 2001 2:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] OO question
I want to be able to override a function
Is anyone else experiencing this? Login to admin.php. PHPWS accespts the
login and password. However, when I click on any link, like Edit Web Page,
it kicks up a blank screen where it should be the web page data. If I try
to edit a main page announcement, it just kicks me back to the admin log
I want to be able to override a function/method in a parent class, but then
call that function/method from within the overriden function in the child
class. The Zend documentation states you can do this:
"In PHP 4.0 you can call member functions of other classes from within
member functions or fr
No, it still doesn't work. I believe it's a documented issue with that
release. it was fixed in 4.0.4dev.
--
Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com
PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite
"Yasuo Ohgaki" <[EMAIL PROTECTED]> wrote in message
[EMA
I want to be able to override a function/method in a parent class, but then
call that function/method from within the overriden function in the child
class. The Zend documentation states you can do this:
"In PHP 4.0 you can call member functions of other classes from within
member functions or fr
Gaylen Fraley wrote:
> I have a friend who is using an ISP that uses php4.0.3pl1 . It appears that
> session_register is not working between pages. In script A, the session var
> gets registered and shows registered using session_is_registered('testvar');
> However, when script B is called, a s
Roel Derckx wrote:
> Hi
>
> I'm working on a large portal-like php/html site with some large graphics.
> The original design is for 1024x768 and up, but i also want it to be well
> viewable under 800x600 so parts of the design have to be resized for that.
>
> BUT, i can't seem to get that kind
Hey everyone,
In coldfusion, if you have a file named Application.cfm in the same dir as
the script that is currently executing, then the coldfusion server will
automatically include that file in beginning of every script in that
directory. Is there any way, by manipulating the php config setting
Put the email addresses in an array:
$email[] = "[EMAIL PROTECTED]";
$email[] = "[EMAIL PROTECTED]";
$email[] = "[EMAIL PROTECTED]";
Then sort like so:
function cmp ($a, $b) {
return strcmp(stristr ($a, "@"), stristr ($b, "@"));
}
usort($email, "cmp");
You now have a properly sorted $em
Can you chown the directory to the same user as the web server runs as
(ie. nobody)? At that point, you will be able to upload into that
directory while retaining the directory permission of 755.
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11
Hi,
let say that i have 3 e-mail adresses in mysql.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
How can i sort them alphabeticaly but by domain name. That all abc.com
domains go first, then bcd.com, then cde.com etc.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
Daniel,
Try this. Still sort of a brute force method but just 10 query strings
instead of 50 but nothing MySQL is going to balk at.
Then you an print out the results stored in the $num_vals list using a
similar for loop.
-Kevin Stone
- Original Message -
From: "Daniel Alsén" <[EMAI
> Is there a short easy mail script that can take an uploaded
> file from a form and have it e-mailed to me?
http://planetkiller.shadow.net.au/mime-php.txt
This will show you how to send an attachment in an email
without messing around with classes (which I could never
get to work, hence I roll
Is there a short easy mail script that can take an uploaded file from a form
and have it e-mailed to me? Please let me know.
Ben
--
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 a
I am same problem. I use PHP4.0.6, Apache 1.3.20 and WindowsNT.
My code looks like this:
ob_start();
session_start();
session_register('is_logon');
if (!$HTTP_SESSION_VARS['is_logon')
{
header('Location: logon.php');
ob_end_flush();
die();
}
If I try to execute this code, I get Dr.Wa
I generate random key and put it on the hidden input. When I get submit from
client, I compare, is this key actual or old.
";
}else{
echo "Refresh";
}
mt_srand((double)microtime()*100);
$key = md5(mt_rand(0,999));
$html = "\n".
"\n".
"\n".
"\n".
"\n";
echo $html;
?>
Raivo
Even if this isn´t a mysql forum i hope to get some help on this:
I have a table with 5 columns (named one to five) which contains numerical
values between 1 and 10.
I am trying to construct a query that gives me the count of the
representation of each numerical value (ie how many fives that are
Hi, I'm trying to recompile PHP to include GD and PDFLib support. So, I've
installed those libraries (as well as zlib, libjpeg, libtiff, libpng),
delete config.cache, then ran :
./configure --with-apxs=/usr/local/apache/bin/apxs --with-openssl --enable-f
tp --with-gd=shared -with-mysql=/usr --wit
I think this approach should work as long as register_globals is set to 'on'
in php.ini. If it isn't, then reference the cookie as
$HTTP_COOKIE_VARS['poccd_session'].
Kirk
> Can someone tell me if there is a bit of code I need to put
> on pages so I
> can retrieve a cookie.
> The cookie was set
I was a bit surprised by it when I posted to the newsgroup earlier, but
I think it's a great idea.
Mike
Jim Winstead wrote:
> as some of you may have noticed over the last few days, a new method of
> spam protection has been implemented on lists.php.net.
>
> if you post to one of the lists.ph
If you only have the text directory listing and don't have access to the
file to do a filetime() call on, you can try this:
$modified = stat('header.php');
echo 'Last Modified: ' . date('F j, Y, g:i a',
strtotime(substr($modified[9],35,12)));
Tha's a really long way around it, and a much bette
You can also open a socket and put the files up via ftp. I use this
method frequently when I cannot move the uploaded files.
use the fopen("ftp://user:[EMAIL PROTECTED]/path/to/images","w";)
command to place the files.
This doesn't work so well if the file already exists, so you have to
dele
Yes, I do reference the image filename in the database.. regardless of where
I save it. That is not the issue.
The problem is that I can not save the image in a location where I can
access it via a URL (ie. http://www.mydom.com/images/myimage.jpg). If I
could then there would be no problem. B
Can someone tell me if there is a bit of code I need to put on pages so I
can retrieve a cookie.
The cookie was set with the following code:
//(D) Set Cookie
$encoded_login = encode_string($login);
if ( $remember == "yes" ){
// set login to expire in 1000 days
$time = (time() + ( 24
- Original Message -
From: "Brian V Bonini" <[EMAIL PROTECTED]>
To: "PHP Lists" <[EMAIL PROTECTED]>
Sent: Tuesday, December 11, 2001 3:43 PM
Subject: [PHP] Date
Try instead..
echo "Last Modified: " . date("j F Y H:i", filetime($your_file_path));
I don't know exactly what the stat() fun
I think an animal mascot is a beat idea.
Needlenose pliers. Enough said! ;)
~Chris /"\
\ / September 11, 2001
X We Are All New Yorkers
Presumably, each item in the catalog has a unique id of some sort in
the database. When you upload the images, you can rename the image
file to image_(unique_id).jpg. Then when you load a page, you can
reference the item next to the image.
This is only one way to do it, of course. You could a
Why is this:
returning this:
Last Modified: December 31, 1969, 7:00 pm
from this:
-rw-r--r-- 1 gfxdesi vuser 1196 Dec 11 09:22 header.php
Anyone?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Hi
This may sound strange. but ...
Is there a limit to the number of sessions one can/should have using the
same identity details at one time. ie if beta testing a website with the
same password details etc. or is it irrelevant.
Thanks
Andrew
--
PHP General Mailing List (http://www.php.net
I have written a simple image uploading system to go along with a simple
database. This will be a part of a publiclay accessable search engine for a
jewelry companie's web site. Almost every entry has a corresponding image.
But that was the easy part... The problem now is that I need to display
as some of you may have noticed over the last few days, a new method of
spam protection has been implemented on lists.php.net.
if you post to one of the lists.php.net lists (via mail or the news
server at news.php.net) from a mail address that is not subscribed to
the mailing list, you will recei
Could this be solved in any way by using nl2br()?
Mike
Phantom wrote:
> I solicit information from a text field and save the data in mysql to be
> pulled out later and displayed as text on a webpage.
>
> However, Carrage Returns in the text field do not appear in the webpage
> text.
>
> Wit
Excellent.
Keep me up to date on your findings. Our license only allows for the
software to be used on one machine so I can't build a test machine. :/
Mike
J Smith wrote:
> Seconds after I write this, I see on zend.com that the Optimizer has a new
> version for 4.1.0. Don't see anything abou
Hi,
I have a problem with a remote image. I hope someone can help me.
People can post their link of their webpage at my site.
I check if the file excists, fopen().
After that I scan the page for links.
And the links for images.
Then I would like to see the sizes of all those images.
The problem
Here, play with this. dtAuctionStart is a MySQL date field, so substitute
your own connection and var.
Have fun - Miles Thompson
Some messing about with dates
=
";
echo date ("Y-m-d", $dtAuctionStart ), "";
//$strDate = $dtAuctionStart ;
echo "dtAuctionStart : $dt
Why are we wasting time and bandwidth? The small oval is fine.
If you want to waste time - why an animal? Use a flower, say a peony, to
symbolize the blossoming richness and continued growth of PHP. Here's a
bouquet, lifted from www.flowerbud.com ... no I shouldn't do that, here's a
link ins
You could use "\r\n" (or combinations thereof) as others have mentioned,
but just to save you some frustration, make sure you don't put quotation
marks around the chr(13) if that regex, otherwise you'll be looking for the
literal string "chr(13)" and not what you'd expect, i.e. what the functi
On 12/11/2001 4:22 PM this was written:
> Yeah, and waiting till Zend is bringing out a working version of Optimizer
> for
> that PHP version ! :)
It's out Version 1.2.0
--
Thomas Deliduka
IT Manager
-
New Eve Media
The Solution To Your Internet Angst
http://www.n
On Monday, December 10, 2001, at 09:35 PM, phantom wrote:
> What would be an easy what to format a date value into month day year??
> I want to specially display a date stored in mysql in date format
> -MM-DD
>
> The manual says: string date (string format, int [timestamp])
>
> I tried $For
Just update PHP to v.4.1.0 about 10 mins ago
Worked pretty go so far ! :)
Will tell about loads soon .. But as far as I see, the load really dropped
...
Yeah, and waiting till Zend is bringing out a working version of Optimizer
for
that PHP version ! :)
cya !
Daniel
PS: thx for your affords !
"
Try using the DATE_FORMAT() function within your SQL query string...
$query = "SELELCT DATE_FORMAT (your_date_column, '%M %d %Y') FROM
your_table";
where:
%M is the month in full text
%d is the numerical day of the month with leading zeros
%Y is the four digit year
Extract the results as ussual
I am looking at the documentation for the zend optimizer and I see nothing
about this (perhaps not looking hard enough?)
The installation had me set a password for the Optimizer gui Interface. What
is this? How can I get to it?
--
Thomas Deliduka
IT Manager
-
New E
\r\n is
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 11, 2001 3:53 PM
Subject: Re: [PHP] replacing Carriage Return
> Could be "\r"? I'm not sure about this becuase I haven't tried it. I
know
> that \r is used as the retu
Could be "\r"? I'm not sure about this becuase I haven't tried it. I know
that \r is used as the return character in other OSs.
-Kevin Stone
- Original Message -
From: "phantom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 11, 2001 1:31 PM
Subject: [PHP] replacin
What would be an easy what to format a date value into month day year??
I want to specially display a date stored in mysql in date format
-MM-DD
The manual says: string date (string format, int [timestamp])
I tried $FormattedDate = date("F y, Y",${StoredDate})
1999-04-15 spit out December 3
Hi!
My webhost has just updated to PHP 4.1 and now this loggin script does not
work.
I get "page can´t be found..."
---
if ( (!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH_USER == $st_LOGIN) &&
($PHP_AUTH_PW == "$st_PASSWORD" )) )
{
header("WWW-Authenticate: Basic entrer=\"Admin Basta\"");
header(
I solicit information from a text field and save the data in mysql to be
pulled out later and displayed as text on a webpage.
However, Carrage Returns in the text field do not appear in the webpage
text.
With ereg_replace() I can replace the Carriage Returns with "\n", so
what is this the ch
Sorry if this sounds like an extremely amature question. :)
Is there a function in PHP that will output the difference between two timestamps
(hours/mins/secs), similar in the way that getdate() extracts the date of a timestamp?
Thank you.
-Kevin Stone
how about a python?
oh wait...
> -Original Message-
> From: Hugh Danaher [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 11, 2001 3:34 PM
> To: Dan McCullough
> Cc: Php-General
> Subject: Re: [PHP] Logo proposal
>
>
> How about a porpoise. They're fast, intelligent, and as Lewis Ca
How about a Beaver? They're small, fast, and efficient.
Joshua Hoover
> How about a porpoise. They're fast, intelligent, and as Lewis Carol said,
> "you shouldn't go anywhere without a porpoise."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
How about a porpoise. They're fast, intelligent, and as Lewis Carol said,
"you shouldn't go anywhere without a porpoise."
- Original Message -
From: Dan McCullough <[EMAIL PROTECTED]>
To: PHP General List <[EMAIL PROTECTED]>
Sent: Tuesday, December 11, 2001 11:38 AM
Subject: RE: [PHP] Log
Well, there goes my idea of a piranha! How about a puffin?? :)
Dan McCullough wrote:
>But for the use of visualization you might want to pick something friendly and fast,
>so they think
>of PHP in that way, instead of strange and slow.
>--- Andrew Chase <[EMAIL PROTECTED]> wrote:
>> Maybe an ani
On Tue, Dec 11, 2001 at 10:38:26PM +0700, Somsak RAKTHAI wrote:
> Dear sir,
> Now I install "Oracle-9i" running on RedHat-7.2.
>
> In php-4.0.6 and php-4.1.0 have option for Oracle-7 or 8 below.
>
> --with-oci8[=DIR] Include Oracle-oci8 support. Default DIR is
>
Seconds after I write this, I see on zend.com that the Optimizer has a new
version for 4.1.0. Don't see anything about the Debug Server. I'm going to
give the Optimizer a whirl and see if stuff encoded with our old Encoder
word with 4.1.0...
J
J Smith wrote:
>
> We have the developer suit
Hi. Is there a way to find the class name of a method when called in the
class::method() format? If called on an object (eg. object->method()) I
could just ask for get_class($this), but when called as class::method(),
$this should not be defined. Anyway around this?
Thanks.
-Steve
--
PHP G
Might sound silly, I don't know anything about this 4.1 version
Anything I need to know about, can I still install libraries and then untar
php and use:
./configure--with this and that and this and that?
Any new features? Or is all this new info in the .gz file?
Just wondering, thanks for your
We have the developer suite at my work, and as far as I know, the
Optimizer, Debug Server, Encoder, etc. don't work with 4.1.0 at all. When
you try using the Optimizer, for instance, it spits out a line in your
Apache log (or whatever log) saying that "this version of the Optimizer is
for Zen
But for the use of visualization you might want to pick something friendly and fast,
so they think
of PHP in that way, instead of strange and slow.
--- Andrew Chase <[EMAIL PROTECTED]> wrote:
> Maybe an animal beginning with "P" would be a good Mnemonic device (and good
> for alliteration; think
Yeah.. code to divide the message into multiple parts, base64_encode the
file, and attach it that way.
I suggest looking for some kind of Email class that can do that for you.
Try http://phpclasses.upperdesign.net/
Mike
Ben Clumeck wrote:
> When I use the script to upload an attachment to my
Maybe an animal beginning with "P" would be a good Mnemonic device (and good
for alliteration; think "The PHP Panda" or "The PHP Platypus".) Hmm, I
guess Panda and Platypus aren't particularly "powerful" animals, though. :/
Other animals beginning with "P":
Pelican
Panther (cheesy)
Polliwog
Pro
> The arrays $_GET, $_POST, $_COOKIE, $_SERVER contain exactly the same data
> as the arrays $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS,
> $HTTP_SERVER_VARS. Try this to see for yourself:
Yes, the new names are just to give people a shorter auto-global mechanism
to access this same dat
Hello all
Whereas I fully understand the security implications of PHP's old GET, POST
and COOKIE variables and welcome with open arms the development team's
decision to depreciate this facet of PHP, I am a little uncertain exactly
why they have come up with the solution that appears in the ver
When I use the script to upload an attachment to my form it does not email
the attachment. I am using the mail() function to email the results of the
form to me. Is there any other code I need to put in my mail() function to
make this work, if so where would I put it?
I am currently using the fo
Do a variable dump and see if any variables have that value:
Mike
Pong-Tc wrote:
> Hello Listers
>
> I have a question on how to get the full path of source file. I have a
> form like this:
>
>
>
> Send this file:
>
>
>
> I pass the request to myupload.php. If my source file's path
$fp = fopen('/var/mail/myaccount','w');
fwrite($fp,'');
fclose($fp);
that could work. I was going to suggest doing:
unlink('/var/mail/myaccount');
touch('/var/mail/myaccount');
But I assume that since you're against deleting it, then there must be
some sort of permissions in place that you don'
Does anyone here subscribe to the Zend developer's suite? We have the
optimizer and debugger installed with a 4.0.5 installation and are
looking into upgrading to 4.1.0 but being a production machine, we don't
want to do anything that would jeopardize the stability of the machine.
Has anyone h
Hello Listers
I have a question on how to get the full path of source file. I have a
form like this:
Send this file:
I pass the request to myupload.php. If my source file's path is
c:/result.txt, how can I know it in myupload.php? I know that I can get
the file name result.txt, but I do
Hello there,
When will documentation on the mailparse_* functions be available?
I found these on the Zend website:
mailparse_determine_best_xfer_encoding
mailparse_msg_create
mailparse_msg_extract_part
mailparse_msg_extract_part_file
mailparse_msg_free
mailparse_msg_get_part
mailparse_msg_get_p
Check the support area of php.net, there's a newsgroup, which is never
purged, and a link to the archive.
Miles
At 09:56 AM 12/11/2001 -0800, Todd Cary wrote:
>Is there an archieve for this list server?
>
>If so, I do I access it?
>
>Many thanks..
>
>Todd
>
>--
>Todd Cary
>Ariste Software
>[
hi,
whats about using the array_walk function within an object?
php says that there is no callback function.
do you have an idea?
thx,
marcbey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
Is there an archieve for this list server?
If so, I do I access it?
Many thanks..
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
> Actually, this is in PHP 4.1.0 which has just been released...
>
> ..here's the line from the changelog:
>
> "Added 'W' flag to date() function to return week number of year
> using ISO
> 8601 standard. (Colin)"
If you have an older version you can use this line:
$week_number = strftime("
recreate it, for example:
<%
exec( 'type > your_file_name' );
%>
Krzysztof
DigitalKoala wrote:
> Hi Everyone,
>
> I'm running a script that automatically reads lines from
> /var/mail/myaccount, parses the lines then insert specific items into a
> database this is in a loop
>
> What i want
On Tuesday 11 December 2001 09:00 am, DigitalKoala wrote:
> What i want to do is then delete the contents of the file, but not the file
> itself...can you tell me the best way to do this?
Well, you can read the contents of the original file into a PHP variable
using fopen(). Then, use something
Thank you very much, I got it to work. What I didn't understand was
that when registering the session var I was not registering the var's
value, only the pointer. This makes all kinds of sence now. Thanks!
- Anthony
Steffan Packer wrote:
> You need to have
>
> session_start();
>
> at th
Hi Everyone,
I'm running a script that automatically reads lines from
/var/mail/myaccount, parses the lines then insert specific items into a
database this is in a loop
What i want to do is then delete the contents of the file, but not the file
itself...can you tell me the best way to do thi
Ahh, Thanks. Ok I don't see it so it must not be enabled. PHP is installed
through my WebHost so to get this enabled I call them and ask if it's
possible?
Or is there a way for me to enable it without access to the server?
on 12/11/01 1:19 AM, Jon Niola at [EMAIL PROTECTED] wrote:
> When y
If I already have php compiled and running on my server, how can I add
the pdfLib. Do I have to compile again?
Thanks,
rodney
Use IF statements to group code, and only use exit() statements when you
want to stop execution/parsing.
"Max" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> If I use die or exit() it break execution of php script but also
> browswer stop parsing html
I open a socket if I am in the middle of a php script to branch to a
page so that I can send the header information. However, I understand
that this is not how most php programmers do it. Could someone share
with me the way it is done with php?
In more detail, this is how I structure a page:
1
They'll be posted within a couple of days.
Zeev
At 07:42 11/12/2001, MindHunter wrote:
>Where do we get the Windows Binaries?
>
>Cheers
>MH
>
>Zeev Suraski <[EMAIL PROTECTED]> wrote in message
>5.1.0.14.2.20011210234236.0516bec0@localhost">news:5.1.0.14.2.20011210234236.0516bec0@localhost...
> >
thanks for the starter. I have session.use_trans_sid = 1 in my php.ini,
I also have session_start() at the beginning of both pages. Now
$HTTP_SESSION_VARS is there, but its a blank array.
print_r($HTTP_SESSION_VARS); yields-> Array ( )
the code I have at one page is
$z=;
sess
Theres a mail archive on the php site that you can search through if I
remember correctly
Todd Cary wrote:
>I just updated my Linux 7.1 to Linux 7.2 and apparently the version of
>Apache that I was running was replaced. When I execute phpinfo(),
>Interbase is not listed. In the /tmp/php.ini,
Actually, this is in PHP 4.1.0 which has just been released...
..here's the line from the changelog:
"Added 'W' flag to date() function to return week number of year using ISO
8601 standard. (Colin)"
--
Shane
On Tuesday 11 Dec 2001 3:37 pm, Nick Ward wrote:
> Hello,
>
> First of all I am ver
You need to have
session_start();
at the top of each page that needs to use the session vars, also check that
session.use_trans_sid is set to 1 in your ini file
hope this helps!
-Original Message-
From: Anthony [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 3:54 PM
To: [EM
I need some help with sessions. I read the sections in the manual and
searched for tutorials, but I still can't get a straight forward example
of how sessions work. I need to pass variables to a page that will load
in a new browser window. I used session_register, but when I look in
the $HT
Well, 1st Jan 1970 is the start of the Unix epoch (i.e. what you'd get for
doing a date() on a timestamp of 0). Seeing as 31st Dec 1969 is fairly close
to this, it's worth checking that header.php exists and that your stat()
call isn't returning null or a negative.
if (file_exists ("header.php"))
1 - 100 of 137 matches
Mail list logo