IOW ??
what's this abbrev?
thx..
:::
: Julien Bonastre [The-Spectrum.org CEO]
: A.K.A. The_RadiX
: [EMAIL PROTECTED]
: ABN: 64 235 749 494
: QUT Student :: 04475739
:::
- Original Message -
From:
Hi Y'all...
Ok. I just got Apache 1.3.xx and I have PHP4.1.1 and MySQL 3.23.47 on WinXP Pro...
I am currently using IIS5.1 with PHP4 and MySQL but I'd like to move across to Apache..
Catch is? I have hunted through all the FAQ's for Apache and there is no mention of
how-to configure
Hi all,
I'm trying to query a date field from mySQL and
display in a differnet format.
the mysql date is in the format -MM-DD and I want
to convert it to DD-MM-
how do I do that?
TIA
Ananth
=
visit www.locustechnologies.com
__
Do
On Saturday 27 April 2002 14:43, Ananth Rajaraman wrote:
Hi all,
I'm trying to query a date field from mySQL and
display in a differnet format.
the mysql date is in the format -MM-DD and I want
to convert it to DD-MM-
how do I do that?
Use mysql's extensive date formatting
On Monday 22 January 2001 14:36, The_RadiX wrote:
Hi Y'all...
Ok. I just got Apache 1.3.xx and I have PHP4.1.1 and MySQL 3.23.47 on WinXP
Pro...
I am currently using IIS5.1 with PHP4 and MySQL but I'd like to move across
to Apache..
[snip]
BUT.. when I call $SERVER_NAME in my php's
On Monday 22 January 2001 14:31, The_RadiX wrote:
IOW ??
what's this abbrev?
in other words
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
/*
I hold it, that a little
Um im trying to take the input from a txt field in an html form (which
happens to be a number) and convert it to currency. Anyone know if there is
a function in PHP to do this or do i have to convert to a float etc?
Cheers From
baldey_uk
--
PHP General Mailing List (http://www.php.net/)
To
try
?
$date=2002-04-27;
echo date(d-m-Y,strtotime($date));
?
--
Best regards,
George Nicolae
IT Manager
___
PaginiWeb.com - Professional Web Design
www.PaginiWeb.com
Ananth Rajaraman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
On Fri, 26 Apr 2002, Ananth Rajaraman wrote:
I'm trying to query a date field from mySQL and
display in a differnet format.
the mysql date is in the format -MM-DD and I want
to convert it to DD-MM-
how do I do that?
How did you figure out anything else that you've done in MySQL?
On Sat, 27 Apr 2002, baldey_uk wrote:
Um im trying to take the input from a txt field in an html form (which
happens to be a number) and convert it to currency. Anyone know if there is
a function in PHP to do this or do i have to convert to a float etc?
What do you mean by a currency? If you
RTFM?
what's this abbrev?
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 27, 2002 4:55 PM
Subject: Re: [PHP] Re: Redirecting
On Monday 22 January 2001 14:31, The_RadiX wrote:
IOW ??
what's this abbrev?
in other words
--
Hi there,
Anyone else having trouble with vanished form
posts/gets with the new PHP 4.2.0 on Windows 2000
Advanced Server?
I re-installed 4.1.1 and everything worked again...
Regs,
Jason
__
Do You Yahoo!?
Yahoo! Health - your guide to health and
Hi all,
I have problem with TTF support on my vhost. PHP says it has no ttf support.
The configure command is:
'./configure' '--prefix=/opt/php' '--enable-exif' '--with-apxs'
'--enable-memory-limit=yes' '--enable-track-vars' '--enable-trans-sid'
'--enable-wddx' '--enable-ftp'
At 9:57 AM -0400 26/4/02, Alan McKay wrote:
Session4 without Session4_custom uses native php containers, e.g.
files or mm.
Where is this session4?
I pulled php-lib-stable out of CVS yesterday and do not see this anywhere.
Is this part of the bleeding edge in php-lib (without the stable) in
Help please from one of the reg-ex experts out there please !
I'm trying to find the pattern #(5 number);
example #69880;
This works
$code[$i] = ereg_replace(#([0-9])+ , replace\\0.bing , $code[$i] );
and I get back replace #69880;.bing
but I also want to lose the # and the ;
so I get back
Hi all..
I've been trying to understand actually what is the error in the following code for
2 hours, i played with the code, moved stuff around and the like but nothing worked..
Can someone help me please?
The PHP error is as follow:
Parse error: parse error in /usr/home/iro/numripps.php
To make a long story short: I'm trying to compile PHP 4.2 with Apache, GD,
T1lib and more. This is what I'm using:
[configuring apache first]
./configure --with-apache=../apache_1.3.24 --enable-ftp --with-mysql=/usr/l
ocal/mysql/ --enable-track-vars --enable-inline-optimization --disable-debug
Greetings guys/girls (Like there are many of them around on the list),
Special greetings to Steve,Nathon,Michael,John and ANYBODY else who was
kind
enough to help me.)
Anyway, I was not joking when I said free webhosting for you.
Little bit of background first.
I am in charge of buying
Try it like this :
$code[$i] = ereg_replace(#([0-9] {5}); , \\1.bing , $code[$i] );
-Ursprüngliche Nachricht-
Von: John Fishworld [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 27. April 2002 1:11 PM
An: [EMAIL PROTECTED]
Betreff: [PHP] reg-ex please
Help please from one of the
Woops , one to many whitespace :)
--
Try it like this :
$code[$i] = ereg_replace(#([0-9]{5}); , \\1.bing , $code[$i] );
-Ursprüngliche Nachricht-
Von: Red Wingate [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 27. April 2002 1:26 PM
An: [EMAIL PROTECTED]
Betreff: AW: [PHP]
Hi,
I set up two mailing lists for FreeMovie users. You can find links to these
lists on the FreeMovie page http://freemovie.sourceforge.net
Sorry, if you've seen this message on this list before, I was having some problems
with my e-mail setup.
Thanks,
Jacek
--
Encyklopedia
On Saturday 27 April 2002 22:19, newton wrote:
Hi all..
I've been trying to understand actually what is the error in the
following code for 2 hours, i played with the code, moved stuff around and
the like but nothing worked.. Can someone help me please?
The PHP error is as follow:
Excellent :-)))
Thanks !
Can I trouble you again with one more !
I get an url http://whatever/file.whatever (text/html/chtml)
Now trying to do the following get just the http://whatever bit
and go through my array and find .gif or .html or .chtml
and replace the eg pics/my.gif with
Sure :)
-Ursprüngliche Nachricht-
Von: John Fishworld [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 27. April 2002 1:46 PM
An: Red Wingate; [EMAIL PROTECTED]
Betreff: Re: [PHP] reg-ex please
Excellent :-)))
Thanks !
Can I trouble you again with one more !
I get an url
Hi,
I am a beginning programmer and I am missing my Mysql/php book for some days
so I can't look up what i need.
i need a query something like this:
query= SELECT from calender WHERE ('$day','$month','$year')= current date
i need a script that looks in my database for events that are going
if (!$chck) {
$zquery = SELECT name from users WHERE handle like
'$row[handle]';
$zres = mysql_query($zquery);
$zrow = mysql_fetch_array($zres);
$user = $zrow[name];
$query = INSERT into husers values (\'$row[handle]\' ,
\'$user\');
Hi guys, trying to get my head around possible code for this problem.
My website has various sections which have their own directory like below:
HOME - Main part of the website
CHARTS - Various DJ charts
MUSIC - Review, News and other things
and so on..
At the top of each page I have a link
On Saturday 27 April 2002 20:34, Randum Ian wrote:
[snip]
For example:
http://www.danceportal.co.uk/diary/2002/may/
has this in the panel:
Home / Diary / 2002 / May / -- These are links back down the system of
directories.
Hello Richard,
Saturday, April 27, 2002, 2:24:21 PM, you wrote:
RA It's in the unsup directory. Maxim's release notes are in there too.
No, I meant the file session4.inc in the php-lib/php/session.
session4_custom.inc release notes (quite outdated, but still usable)
are there too.
It's
php-general Digest 27 Apr 2002 13:25:00 - Issue 1311
Topics (messages 94846 through 94891):
Re: Opening manual - .bz2
94846 by: John Holmes
Re: good php editor for the mac
94847 by: Miguel Cruz
Re: Variables not working
94848 by: Nathan
94850 by: baldey_uk
No...Do it in your query. Use DATE_FORMAT in your query.
---John Holmes...
-Original Message-
From: George Nicolae [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 12:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: date format
try
?
$date=2002-04-27;
echo
How about number_format
www.php.net/number_format
---John Holmes...
-Original Message-
From: baldey_uk [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 10:20 PM
To: Php-General
Subject: [PHP] Another silly email
Um im trying to take the input from a txt field in an html
$zquery = SELECT name from users WHERE handle like
'$row[handle]';
Missing an ending quote here.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
SELECT * FROM calendar WHERE date_column = CURDATE()
---John Holmes...
-Original Message-
From: Thomas Goeminne [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 5:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] current date query
Hi,
I am a beginning programmer and I am
Register_globals is off by default and you have to use the $_GET and
$_POST arrays for your data.
---John Holmes...
-Original Message-
From: JaseyX [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 1:38 AM
To: [EMAIL PROTECTED]
Subject: [PHP] POST/GET is not working for PHP
Use $_SERVER[SERVER_NAME]
---John Holmes...
-Original Message-
From: The_RadiX [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 21, 2001 10:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Apache: SERVER_NAME gone?
Hi Y'all...
Ok. I just got Apache 1.3.xx and I have PHP4.1.1
Hi List,
my Problem is, on the second line of my script I validate a session. If it's
false, it dies. But in the first line, I require a header(html,body,title
etc.). Now, if a session fails, my die-Message ends in a script-Part, so
nobody sees it but gets an error by JS. Is there any way to
On Saturday 27 April 2002 22:49, Jan Peuker wrote:
Hi List,
my Problem is, on the second line of my script I validate a session. If
it's false, it dies. But in the first line, I require a
header(html,body,title etc.). Now, if a session fails, my die-Message ends
in a script-Part, so nobody
Hi Group,
I would like to remind any beginner PHPers that live near (or in) New York
City that the next PHP Training will take place on May 8th - 9th.
More information at http://www.websapp.com/training.php
Best regards,
Daniel Kushner
--
PHP General Mailing List (http://www.php.net/)
To
Try this:
header (Content-type: text/plain);
header (Content-disposition: attachment; filename=file.txt);
--
Kind regards,
Yuri.
www.AceHoster.com Quality web hosting
Vins [EMAIL PROTECTED]
I would like to create a text file that doesn't save to disk but askes me
to
save the file.
like
MySQL:
create table foo (
id int not null auto_increment primary key,
state enum('enabled', 'disabled')
);
PostgreSQL:
create table foo (
id int not null primary key default nextval('foo_id_seq'),
state varchar(8) check (state in ('enabled', 'disabled'))
);
create sequence
PHPBB is REALLY best! :-)
http://www.phpbb.com/
--
Kind regards,
Yuri.
www.AceHoster.com Quality web hosting
R [EMAIL PROTECTED]
Hey all,
Just a small q,
does anybody know of any particular good BBS system that is free? (I aint
rich :-( ) Been to hotscripts.com can you recomend
But I WANT to do something else, loading other code!
But ok, I will check at first, then include a short header before dying.
This runs, but isn't beautiful. Thanks.
Jan
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 27, 2002 4:56 PM
http://www.php.net/manual/en/function.flush.php
flush -- Flush the output buffer
Flushes the output buffers of PHP and whatever backend PHP is using (CGI, a web
server, etc). This effectively tries to push all the output so far to the user's
browser.
--
Kind regards,
Yuri.
http://www.hotscripts.com/PHP/Scripts_and_Programs/Counters/Text_Based/
--
Kind regards,
Yuri.
www.AceHoster.com Quality web hosting
Cms [EMAIL PROTECTED] ???/ ? ?:
news:r01050100-0922-9FEB9500593A11D68F37DC65D4C7C8B9@[192.168.0.14]...
I am looking for a php
The I like I have try three now is phpnuke it so easy to set up you can have
it up and running in 5 mins. YBBSE is another that is good.
http://www.phpnuke.org
http://www.yabbse.org
| Chuck Payne |
| Magi Design and Support |
| www.magidesign.com
Hello there,
Has anybody worked with PayPal's Instant Payment Notification?
How exactly does it work -- will the payer ever go to PayPal's site
itself (and leave my site for a sec) or will all contact with PayPal's
servers be handled by my script?
I have to write a system that enables
Just set register_globals to On in php.ini file.
--
Kind regards,
Yuri.
www.AceHoster.com Quality web hosting
Jaseyx [EMAIL PROTECTED] ???/ ? ?:
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi there,
Anyone else having trouble with vanished form
posts/gets
This is off-topic, but someone in the group may have a good idea, so
I'll ask it here. Please also reply to my email - [EMAIL PROTECTED] --
thanks.
I am storing several detailed images at about 400x400 pixels (inventory
for an art gallery). I show a page with thumbnails of the images. When
a
On Sat, 27 Apr 2002, Ray Paseur 703.346.0600 wrote:
I am storing several detailed images at about 400x400 pixels (inventory
for an art gallery). I show a page with thumbnails of the images. When
a site visitor clicks on a thumbnail, I open a separate window to
display the detailed image.
Here's my code:
html
body
?php
//trying to start a session right here for the usr and pwd variables
session_start();
session_register(usr, pwd);
if (isset($login)):
?
FORM ACTION='?php echo($PHP_SELF); ?
etc., etc where the usr enters their usrname and pwd but I get the
I'm trying to write a trace route program in PHP. The algorithm in itself
is not a problem, but i need to know how to set time to live (by number of
hops) in an IP datagram and send it. I also need to be able to listen for
and recieve ICMP messages and to exctract the IP adress of the sending
hello,
init_set doesn't seem to work for setting auto_append_file, in php 4.1.2.
the master setting is NULL, and the local setting is properly set when I do
a phpinfo(), but the file never gets appended. Any ideas?
thanks
-Matt
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
I spent ages figuring this one out so it work work on Windoze, Linux, Mac, ...
and this *always* works:
Create a hyperlink for user to click on:
echo ' td class=nbcc
ahref='.$PHP_SELF.'?action=*download=txtDownload TXT/a/td';
On click, we come back in to this:
if ( $action == '*' ) {
if
On Sat, 27 Apr 2002, Kirk Babb wrote:
Here's my code:
html
body
?php
//trying to start a session right here for the usr and pwd variables
session_start();
session_register(usr, pwd);
if (isset($login)):
?
FORM ACTION='?php echo($PHP_SELF); ?
?
session_start();
On Sat, 27 Apr 2002, Ero Stig Karlsen wrote:
I'm trying to write a trace route program in PHP. The algorithm in itself
is not a problem, but i need to know how to set time to live (by number of
hops) in an IP datagram and send it. I also need to be able to listen for
and recieve ICMP messages
because $SERVER_NAME is created IF the php
directive register_globals = on. this setting
is off by default as of PHP 4.2.0. all
server predefined variables behave this way,
such as $PHP_SELF, etc.
regards,
philip
On Sat, 27 Apr 2002, John Holmes wrote:
Use $_SERVER[SERVER_NAME]
also consider extract or import_request_variables
as they can be useful too.
regards,
philip olson
On Sat, 27 Apr 2002, John Holmes wrote:
Register_globals is off by default and you have to use the $_GET and
$_POST arrays for your data.
---John Holmes...
-Original Message-
session cookie exists on client side and it is set to last 5 days.
the problem is that after some time session data expires. cookie
on client side exists ($PHPSESSID), but session data on server side
does not exists.
i think that the answer is something like:
ini_set(session.cache_expire, 7200);
Thanks Miguel and Nathan for your help! If I can make this more secure I
would definitely like to do so. Suggestions?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi folks,
I would like to use a extension from the php4-cvs for my current
php4.1.1-production-system.
Is it possible to use such an extension? if so, how? using phpize
produces error messages about the m4-macros.
thanks a lot,
Thomas
--
PHP General Mailing List (http://www.php.net/)
To
The session_start() needs to come before any code outputs anything to
the browser, so in your case you need to put it before the html and
body tags:
?php
session_start();
?
html
body
?
etc...
Padraig
Kirk Babb wrote:
Here's my code:
html
body
?php
//trying to start a session
Hi,
I've got the following statement for a state options menu.
How can this be expressed in a simple manner for all 52 states?
//choose state
if ($state == AL) {
// include class
include(CalcAL.class.inc);
}
else if ($state == AR) {
// include class
include(CalcAR.class.inc);
}
else if
On Sunday 28 April 2002 00:25, Lauri Vain wrote:
Has anybody worked with PayPal's Instant Payment Notification?
Not yet, but am about to.
How exactly does it work -- will the payer ever go to PayPal's site
itself (and leave my site for a sec) or will all contact with PayPal's
servers be
On Saturday 27 April 2002 23:57, Jan Peuker wrote:
But I WANT to do something else, loading other code!
But ok, I will check at first, then include a short header before dying.
This runs, but isn't beautiful. Thanks.
If you want (hopefully) better suggestions, post your code.
--
Jason Wong
$incfilename = Calc.$state..class.inc;
if (file_exists($incfilename))
include($incfilename);
else
echo Please select a State.br\n;
--
Stuart
-Original Message-
From: Jim Long [mailto:[EMAIL PROTECTED]]
Sent: 27 April 2002 20:00
To: php
Subject: [PHP] simplify if/then
On Sunday 28 April 2002 02:59, Jim Long wrote:
Hi,
I've got the following statement for a state options menu.
How can this be expressed in a simple manner for all 52 states?
//choose state
if ($state == AL) {
// include class
include(CalcAL.class.inc);
}
else if ($state == AR) {
On Sat, 27 Apr 2002, Jim Long wrote:
I've got the following statement for a state options menu.
How can this be expressed in a simple manner for all 52 states?
switch(strtolower($state))
{
case 'al':
include 'CalcALclass.inc';
break;
case 'ar':
include 'CalcALclass.inc';
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Matt Wong) wrote:
init_set doesn't seem to work for setting auto_append_file, in php 4.1.2.
the master setting is NULL, and the local setting is properly set when I do
a phpinfo(), but the file never gets appended. Any ideas?
The function
Hi all-
Has anybody worked with PayPal's Instant Payment Notification?
Not yet, but am about to.
we integrated paypal in phpauction. At paypal.com, one you register as
developer, you have access to their documentation.
That's enough to get it working.
How exactly does it work -- will the
I'd do something similar to this, along with
putting all states in an array to make sure
$state is actually a state (in_array). And
maybe you want to add guam :)
a) be sure $state is set, else load default
b) be sure $state is not bogus, else yell at them
c) be sure the $state file exists,
Hi,
Make an array $arr of all the states and loop
$state = AR;
$arr = array();
array_push($arr, AL, AR, AZ);
foreach ($arr as $key = $value)
{
if ($state == $value){
include(Calc$value.class.inc);
}
}
Cheers,
Pekka
http://photography-on-the.net/
At 4/27/2002, you wrote:
Hi,
I've
On Sat, 27 Apr 2002, Philip Olson wrote:
I'd do something similar to this, along with putting all states in an
array to make sure $state is actually a state (in_array). And maybe you
want to add guam :)
As an early Christmas present, here's the array (to save the OP some
typing - I'm
Using pull down for $state.
This works great!
$incfilename = Calc.$state..class.inc;
if (file_exists($incfilename))
include($incfilename);
else
echo Please select a State.br\n;
Thanks To Everyone,
j
--
http://jimlong.net/web
I'd do something similar to this, along
Hello, fans of GUI development!
PHP-GTK 0.5.1 also known as hardboiled wonderland has escaped from the
CVS holding pen. Be on the lookout. The identifying features are:
- changed gdkwindow::set_cursor() to allow reverting the cursor to
default one. (Andrei)
- fixed
Can someone point me toward a tutorial on the proper use of global
references under PHP4.
I have been declaring
function something()
{
global $foo, $bar;
/* some actions */
}
in functions and I understand that this is not the way I'm supposed
to be doing this. Or there is a new way that
Is it possible that everytime un click the refresh button a
new session is created?
Here's my index.php
Every time refresh this page a new session is created.
?php
function MostrarPaginaPrincipal() {
include html/index.html;
}
include include/sesiones.php;
include
I think he already has the best solution. Store two images. How many
thumbnails are there on a page? At 1-2 seconds per image to resize how
long will you make every visitor wait to see the thumbnails?
Disk space is cheap. If you have to buy another drive - no big deal. I
don't know about
search zend.com for breadcrumbs
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 27, 2002 2:01 PM
Subject: Re: [PHP] Directory System Splitter
On Saturday 27 April 2002 20:34, Randum Ian wrote:
[snip]
For example:
Running Apache 1.3 , XP Pro, and PHP 4.2 but get this:
Can't find this ref: in apache conf nor php.ini
Warning: Failed opening '/inetpub/wwwroot/test.php' for inclusion
(include_path='.;c:\php4\pear') in Unknown on line 0
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
At 27.04.2002 18:59, you wrote:
Hi all,
I have problem with TTF support on my vhost. PHP says it has no ttf support.
The configure command is:
'./configure' '--prefix=/opt/php' '--enable-exif' '--with-apxs'
'--enable-memory-limit=yes' '--enable-track-vars' '--enable-trans-sid'
[EMAIL PROTECTED] (John Hughes) wrote:
Can someone point me toward a tutorial on the proper use of global
references under PHP4.
I have been declaring
function something()
{
global $foo, $bar;
/* some actions */
}
in functions and I understand that this is not the way
Env: Apache
1.3.x/php4.0.6/mysql3.23.x
Scenario: I have built a system that uses PHP
sessions for user access. Within the system I send user notifications via
email. Within the email are links to certain pages with
variables. For example.
http://mysite.com/view_page.htm?id=6
My system
$page = $_SERVER[SERVER_NAME] . $_SERVER[SCRIPT_NAME] .
$_SERVER[QUERY_STRING];
That will recreate the URL that the user clicked on. Save that to a
variable before you check for a session. Once you start a session or
verify that one exists, use header() to send them back to that page.
You'll have to add an http:// to that string, too.
---John Holmes...
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 5:50 PM
To: 'Dennis Moore'; [EMAIL PROTECTED]
Subject: RE: [PHP] Sessions and Query String Variable Handling
$page
You can also use
$page = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
- Original Message -
From: John Holmes [EMAIL PROTECTED]
To: 'Dennis Moore' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, April 27, 2002 8:49 PM
Subject: RE: [PHP] Sessions and Query String
if you get errors trying to include files
cannot find include file in c:/php4/pear/
open up your php.ini and find the windows include path directive.
paste this there
include_path = ./
will sort out that error
have fun
Vins
:-)
--
PHP General Mailing List (http://www.php.net/)
To
check my new post
I've Got IT :: Windows Users Read This
will sort your prob out
Cheerz
Vins
Don Tait [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Running Apache 1.3 , XP Pro, and PHP 4.2 but get this:
Can't find this ref: in apache conf nor php.ini
Hmm
because $SERVER_NAME is created IF the php
directive register_globals = on. this setting
is off by default as of PHP 4.2.0. all
server predefined variables behave this way,
such as $PHP_SELF, etc.
Yes so I've heard... One thing though.. I use PHP4.1.1... not 4.2.x
Anywayz will try
I'm guessing the issue is that it complicates the process of adding new
images, because someone has to create and upload two corresponding files.
This way, they get the benefit of rapid page generation combined with a
simpler administration process.
miguel
On Sat, 27 Apr 2002 [EMAIL
Thanks,
Is there any way of doing this without using the header() to redirect? I
have some functions that get executed before the sessions stuff. I am
trying to avoid using output buffering or re-writing my code.
/dkm
- Original Message -
From: John Holmes [EMAIL PROTECTED]
To:
Not for server side. You can use a META REFRESH on the client side, but
I personally find that ugly.
This is why I always write my functions so that they don't output
anything. They just assign the output to a variable and return it. That
way, I can call the function anywhere, save the result,
On Tue, 23 Jan 2001, The_RadiX wrote:
Hmm
because $SERVER_NAME is created IF the php
directive register_globals = on. this setting
is off by default as of PHP 4.2.0. all
server predefined variables behave this way,
such as $PHP_SELF, etc.
Yes so I've heard... One thing
On Sunday 28 April 2002 04:39, Henrik Hansen wrote:
[EMAIL PROTECTED] (John Hughes) wrote:
Can someone point me toward a tutorial on the proper use of global
references under PHP4.
The manual has very good information.
I have been declaring
function something()
{
global
On Tuesday 23 January 2001 07:55, The_RadiX wrote:
Hmm
because $SERVER_NAME is created IF the php
directive register_globals = on. this setting
is off by default as of PHP 4.2.0. all
server predefined variables behave this way,
such as $PHP_SELF, etc.
Yes so I've heard... One
The text of this proposal, test code, and updates live at
petermoulding.com/class. I place it here for discussion of the best
approach before people build code.
Class PHP
An invention for a classier PHP.
This invention uses PHP classes as Web pages. The invention can be
implemented as a
Hi,
I was using this little check to see if an uploaded image has the correct
type:
if($img $img_type != 'image/jpeg'){
$error['img'] = 'image has to be jpegBR';
}
but the ImageCreateFromJPEG function in the next script returned:
Warning: imagecreatefromjpeg: '/tmp/1.jpg' is not a valid
Is it possible to have PHP find out the ethernet's card MAC address??
I know that one can parse the output of dmesg or equvalent to find it
out, but that would be OS platform
specific code.
I just want to know if php has a native way of finding out that information.
Thanks
Gerard
--
PHP
Please Cc: me on replies...
I've got to be doing something stupid, because I've succeeded at this
PGP (gpg, whatever) stuff before (years ago), but...
I'm doing this:
$test = escapeshellarg($cleartext);
exec(cat $test | /usr/bin/pgpe -a -t -f -r '[EMAIL PROTECTED]'
Can someone translate this to English?
-Original Message-
From: Peter [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 7:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] class PHP
The text of this proposal, test code, and updates live at
petermoulding.com/class. I place it
1 - 100 of 103 matches
Mail list logo