php-general Digest 25 Feb 2005 16:18:28 - Issue 3305
Topics (messages 209335 through 209345):
Re: Cookies
209335 by: Burhan Khalid
209336 by: Andre Dubuc
how to increase maximum upload file size
209337 by: Srinadh Sannidhanam
209338 by: Jochem Maas
Problem
On Thu, 2005-02-24 at 04:02, Jacques wrote:
How can I ensure that a user is prevented from creating a second profile
after he has registered a second time with different registration details?
I thought of capturing his IP Address and checking this value against my
users table in my
Warren Vail wrote:
I am using fopen with a url to open a remote file (read only of course).
The url I am providing results in a redirect and the fopen seems to be
smart
enough to follow the redirect to return the actual file contents. How can
I
get at the redirected filename?
The problem
Hello all.
Im developing an application as my final school project and for the
report (administration manual) i need to specifie the protocol of
communication between PHP and Mysql when accessing the mysql database
using the functions within PHP.
PHP communicates with Mysql throw TCP/IP or any
I have to write a little program that pulls information from a database,
formats it into csv format for importing into excel and ftps it to another
server. I have everything worked out except for the ftping. I have read
through http://us4.php.net/manual/en/ref.ftp.php and I know I can get
Hello Kevin,
You might want to try this:
Run PHP on a windows platform that has MSWord and the PDF printing libraries
installed. Use PHP's COM support to load an MSWord object and see if you can
get it to load the word document and print it out as a PDF file. Once it is
printed to the file, you
--- Jochem Maas [EMAIL PROTECTED] wrote:
i have mailed the list 235 times since 12-1-05
Nice trick. :-)
I'd put my money on Richard Lynch for all categories:
1. total number of posts
2. highest average no. of posts/week
3. longest post
4. total no. of words written
5. highest average
original message
I have to write a little program that pulls information from a database,
formats it into csv format for importing into excel and ftps it to another
server. I have everything worked out except for the ftping. I have read
through
--- William Stokes [EMAIL PROTECTED] wrote:
If I send a session cookie to browser where it is stored in WinXP?
Session cookies are kept in memory.
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly HTTP Developer's Handbook - Sams
Coming Soon
Hello,
I have a file 'nav.php', whose source code I want to load into the
textarea on page 'aaa.php', so the source can be edited and changed.
Is there a resource that I can read to help me do this?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thanks for your input, but I've played around with it and now it's uglier
than ever. I'm very new to PHP, so I'm not sure what I'm missing here. I've
done a few things to try to pinpoint the problem, but now I'm even more
confused. Can you please look over what I've done and let me know if
Hi Brent,
I noticed you have your error_reporting level set really high (2039),
which is pretty close to everything. That may be fine on a development
server, but I wouldn't set it that high on a production server. I'd be
curious what you log looks like. Perhaps this is causing your
On Thu, 24 Feb 2005 09:42:21 +, Nick Talbott [EMAIL PROTECTED] wrote:
On Thursday 24 February 2005 9:38 am, N Deepak wrote:
Jacques wrote:
Which function can I use to capture a user's IP Address when he registers
on my site. I would like to store this value in a database.
print
Hello,
I'm trying to hash passwords before saving them to a mySQL database but I am
having a problem. I created three seperate sample users with three different
passwords (password1, password2, password3). When I go back to look at the
table info in the database, it has saved the exact same
You could do a few things here.
I would not banned people from signing up again if the ipaddress is in
the database.
You could make it so no email could be in the database more than once.
What I did before was:
if a user's ipaddress matches an ipaddress in the database I have the
script email
On Thu, 2005-02-24 at 01:04, Dotan Cohen wrote:
that. A little javascript goes a long way in these sort of situations
You don't want to do that will javascript. I, for one, surf with
javascript turned off. The malicious script kiddie, I would presume,
also would be very happy to send you
On Thu, 2005-02-24 at 06:32, Srinadh Sannidhanam wrote:
Hi,
In my application I need to allow the user to upload a file with size more
than 2M.
I came to know that by default php will allow only 2M. How can change it.
I changed, that in php.ini file and restarted apache. but still not
Erbacher Karl wrote:
I am creating a database where I need people to log in using a unique
username and password. I would like to hash the passwords using the
one-way
function mhash(). However, when I try to do this, I have some issues that
I
cannot figure out. Here is what I have (I'll
I use:
$ipaddress = getenv(REMOTE_ADDR);
Jacques wrote:
Which function can I use to capture a user's IP Address when he registers on
my site. I would like to store this value in a database.
Regards
Jacques
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Just a wild guess, but try url;
http://localhost/zed/htdocs/rgfindingaids/series594.html
or
file://zed/htdocs/rgfindingaids/series594.html to bypass your web server
I am struggling with the section of the manual that deals with this as well.
http://us3.php.net/manual/en/ref.stream.php
hope
Jacques wrote:
How can I ensure that a user is prevented from creating a second profile
after he has registered a second time with different registration details?
You can't.
Not totally.
You could send them a Cookie, and hope they're not smart enough to delete
it before they re-register.
You
I have messed with this for a couple of days and cant get it right. Maybe I
need sleep :-)
The code below is echoing the qty correctly (10, 5, 25)
for ($i = 1; $i = $sendnum; $i++)
{
$qty = $_POST['qty'.$i];
echo $qty . 'br /';
}
The question is, how would I
Jason Barnett wrote:
Jacques wrote:
Can make use of an absolute URL when using require() or require_once()?
Yes, as long as you have allow_url_fopen = 1 in your php.ini
unless you absolutely 100% trust the server in question I would say that
its madness to include/require a file from another
Hello.
I need to to an application in PHP with graphics creation.
The database where i need to go and fetch the values is access.
is possible for PHP to fecth values from an access database ??
cheers
Bruno Santos
--
Say no to software patents
www.nosoftwarepatents.com/
--
[EMAIL PROTECTED]
--
Burhan Khalid mailto:[EMAIL PROTECTED]
on Tuesday, February 22, 2005 11:21 PM said:
Chris W. Parker wrote:
[ snipped ]
I'm running Apache/2.0.40, MySQL 3.23.54, and PHP 4.2.2.
You need to upgrade to the latest PHP version, which is 4.3.10 and
while you are at it, consider
sent an email to the list earlier.. never received a copy.. its like the
list went down around 8AM CST?
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/05
--
PHP General Mailing List (http://www.php.net/)
To
I think I have heard that your system can get really bogged down if your
log files are HUGE. So you probably are right. I dread the size of the
log files if he has a rather busy site and is logging everything...
Randy
Brent Baisley wrote:
I noticed you have your error_reporting level set
Hello,
I have PHP5 running but wanted to recompile for mysql support.
./configure --prefix=/usr/local/php5
--with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/lib
--with-mysql=/usr/local/mysql
it complained about libz so I added --with-zlib-dir as:
./configure
Hey,
Now, how about taking that variable and executing it? How might one do this?
For instance:
I might have an asp page on one server(Yeah, I have to use asp on that
server) generate the results in the form of a bit of php code, and pass it
to my php script via include method for execution.
Hello Jacques,
Thursday, February 24, 2005, 3:02:09 AM, you wrote:
J I thought of capturing his IP Address and checking this value
J against my users table in my database where I have captured IP
J Addresses of users who have previously registered.
Good luck. There isn't a way that I know of
Tim Burgan wrote:
I have a string:
$str = 'lt;pgt;This is a paragraphlt;pgt;lt;?php echo \'hello\';
?gt;';
Which I convert using:
html_entity_decode(stripslashes($str));
Which result in:
pThis is a paragraph/p?php echo 'hello'; ?
But.. I was the PHP tags to STAY ENCODED like:
pThis is
Is there a Wiki site for PHP? Is there a need for one?
-Randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to
pass variables by reference to my function without enabling call-time pass
by reference in the PHP.INI file?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there, just for testings sake, you should get a script that figures
out the page generation time for a php script... As luck would have it,
I made a class for this not too long ago. give this a whirl.
First, create a php script with this in it...
?php
// CREATE THE CLASS
class
PHP General,
1. The Situation:
I have a forum in which users can enter text which is then displayed
on my web site. I want to be able to allow them to insert their own a
href tags to provide links. The text is stored in a MySQL database.
2. The Problem:
My understanding is that if
Wiberg wrote:
Hi there!
fgtcvs works fine, but there's another problem now... I run updates to the
db for each row (every row is unique) and must be updated. If I run the
script with 2 rows then my site couldn't open the database from another
location. Is this MySQL-specific or PHP-specific?
On Wed, 23 Feb 2005 19:17:05 -, SED [EMAIL PROTECTED] wrote:
Is it possible for hackers to give a fake IP address when visiting a website
running PHP?
It might be difficult for a script-kiddy to spoof his IP address, but
it isn't difficult for him to find an open proxy server, meaning that
On Wed, 23 Feb 2005 13:01:18 -0800, wrote:
Hi,
I am running a simple Upload script in PHP using a HTML Form with a File
field. The user can browse their computer and upload a file. It works great,
except for large files, where the browser will timeout. The timeout appears
to happen after
Nothing on list over night?
--
Lester Caine
-
L.S.Caine Electronic Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on which page of php.net can I find out what this code does?
$a = $b? $a :dian;
--
Diana Castillo
Global Reservas, S.L.
C/Granvia 22 dcdo 4-dcha
28013 Madrid-Spain
Tel : 00-34-913604039 Ext 216
Fax : 00-34-915228673
email: [EMAIL PROTECTED]
Web : http://www.hotelkey.com
Haven't gotten anything from the list since yesterday...is it me, or is
it the list. Fix it Jay!!! ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris Shiflett wrote:
--- Jochem Maas [EMAIL PROTECTED] wrote:
1. total number of posts
2. highest average no. of posts/week
3. longest post
4. total no. of words written
5. highest average no. of words/post
Richard certainly contributes a lot, and I think he's in the top 10 (Curt
Zirzow
Gerard wrote:
Hi Brent,
I noticed you have your error_reporting level set really high (2039),
which is pretty close to everything. That may be fine on a development
server, but I wouldn't set it that high on a production server. I'd be
curious what you log looks like. Perhaps this is causing
Hi,
I am in desperate need of some help in calling a vbscript file from a php
file.
I have searched high and low and have come up with nothing that will do it.
I have found one example of a html file, which will call a vbscript file when
the html file is double-clicked, but wont work if the
Diana Castillo wrote:
on which page of php.net can I find out what this code does?
$a = $b? $a :dian;
This is the tertiary operator. It's a shorthand version of
?php
if ($b) {
$a = $a;
} else {
$a = dian;
}
?
--
Teach a man to fish...
NEW? |
John Nichel wrote:
Haven't gotten anything from the list since yesterday...is it me, or is
it the list. Fix it Jay!!! ;)
Sorry, I had to give the server a good kick, then once more for good
measure. Nothing like a swift reboot ;)
--
Teach a man to fish...
NEW? |
Lef1 wrote:
Hi,
I am in desperate need of some help in calling a vbscript file from a php
file.
A vbscript file? Do you mean you want PHP to send vbscript to the web
browser? If that's the case then just echo the vbscript in some script
tags.
Or did you mean that you were hoping to run
The solution for this problem (doing it in the matter that you are
suggesting) is certainly going to involve preg_replace(). However, this
will require you to match only the tags you want to let through (which
is always dangerous) and then strip out all of the rest of them. This
can be very
Nothing on list over night?
--
Lester Caine
Nope, so I had to do real work this mourning (sic).
David
Leif Gregory wrote:
Hello Diana,
Friday, February 25, 2005, 7:07:29 AM, you wrote:
D on which page of php.net can I find out what this code does?
D $a = $b? $a :dian;
It's called a ternary operator, basically an if-else statement.
Note to self: write ternary on the blackboard 100
Dave wrote:
PHP General,
...
4. What I've Done So Far:
I've looked into the *htmlspecialchars()*
http://jp.php.net/manual/en/function.htmlspecialchars.php and
*htmlentities(), thinking that they perhaps could pull out characters
used in tags, but they seem to be more for formatting
I need to to an application in PHP with graphics creation.
The database where i need to go and fetch the values is access.
is possible for PHP to fecth values from an access database ??
http://us4.php.net/odbc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[snip]
I am in desperate need of some help in calling a vbscript file from a
php
file.
[/snip]
http://www.php.net/exec
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Diana Castillo wrote:
on which page of php.net can I find out what this code does?
$a = $b? $a :dian;
its a form of if statement called the tertiary form (or something),
it does exactly the same as this:
if ($b) {
$a = $a;
} else {
$a = dian;
}
don't know which page its on tho
Hello Diana,
Friday, February 25, 2005, 7:07:29 AM, you wrote:
D on which page of php.net can I find out what this code does?
D $a = $b? $a :dian;
It's called a ternary operator, basically an if-else statement.
There really isn't a page (that I've found) that explains in on
php.net, but
I have a file 'nav.php', whose source code I want to load
into the textarea on page 'aaa.php', so the source can be
edited and changed.
Is there a resource that I can read to help me do this?
If you want to render HTML into a textarea then I am afraid you are on a
hiding to nothing - the
I've got an order for the media portal. Thus, I'm looking for an open
source portal systems. First that comes to my mind is PHP-Nuke, but I
heared that it requires a powerful server and i'll have just a
middle-level one. So, could someone knows another PHP-based open
source portal systems? Thank
When I use this query in PHP it works, and I get all things with the YEAR of
1977, as I expected.
$query= SELECT * FROM my_table WHERE Year LIKE 1977 ;
But, when I use this query it does not work.
$query= SELECT * FROM my_table WHERE Year LIKE 197* ;
I thought I should get the result of ALL
On Friday 25 February 2005 08:36, Erbacher Karl wrote:
Thanks for your input, but I've played around with it and now it's
uglier than ever. I'm very new to PHP, so I'm not sure what I'm
missing here. I've done a few things to try to pinpoint the problem,
but now I'm even more confused. Can
Dave wrote:
PHP General,
1. The Situation:
I have a forum in which users can enter text which is then displayed
on my web site. I want to be able to allow them to insert their own a
href tags to provide links. The text is stored in a MySQL database.
2. The Problem:
My understanding
Jay Fitzgerald wrote:
I have messed with this for a couple of days and cant get it right. Maybe I
need sleep :-)
The code below is echoing the qty correctly (10, 5, 25)
for ($i = 1; $i = $sendnum; $i++)
{
$qty = $_POST['qty'.$i];
echo $qty . 'br /';
}
The question
Gerard wrote:
Update on the issue:
I just upgraded to PHP5 in an attempt to get the speed under control, it
didn't work.
What I did notice is that even www.debuginc.com/test2.php (which has NO
code
in it at ALL, only text) takes 5 seconds to load! Upon closer
investigation,
it seems that
Hello,
I couldn't find this anywhere on google or PHP's site but I'm pretty
sure there's an answer to it.
How can I turn the following into something that resembles the ternary
operator?
?php
if($something)
{
$this = $that;
}
?
I seem to remember it looking something like:
?php
Hello Chris,
you need to define that signature of your functions by supplying
ZEND_ARG_INFO's to them. look at ZEND_API.h file for those macros.
marcus
Friday, February 25, 2005, 2:22:39 AM, you wrote:
I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to
pass variables
On Fri, 2005-02-25 at 11:13 +, Lester Caine wrote:
Nothing on list over night?
It's a PHP fast :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Run PHP on a windows platform that has MSWord and the PDF printing libraries
installed. Use PHP's COM support to load an MSWord object and see if you can
get it to load the word document and print it out as a PDF file. Once it is
printed to the file, you can use PHP to read the file and do
The list has definitely been quite funky last night and today...
Steve Buehler wrote:
original message
I have to write a little program that pulls information from a database,
formats it into csv format for importing into excel and ftps it to another
server. I have everything
-Original Message-
From: Jay Fitzgerald [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 24, 2005 9:39 AM
To: php-general@lists.php.net
Subject: [PHP] help with adding
I have messed with this for a couple of days and cant get it
right. Maybe I need sleep :-)
The
for ($i = 1; $i = $sendnum; $i++)
{
$qty = $_POST['qty'.$i];
$total = $total + $qty;
echo $qty . 'br /';
}
echo Total $total;
?php
/*
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075
Hello Jay,
Thursday, February 24, 2005, 8:39:16 AM, you wrote:
J I have messed with this for a couple of days and cant get it right.
J Maybe I need sleep :-)
J The question is, how would I take add each of these numbers (10+5+25)?
for ($i = 1; $i = $sendnum; $i++)
{
$qty = $_POST['qty'.$i];
[snip]
I need to to an application in PHP with graphics creation.
The database where i need to go and fetch the values is access.
is possible for PHP to fecth values from an access database ??
[/snip]
http://us2.php.net/odbc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
[snip]
Is there a Wiki site for PHP? Is there a need for one?
[/snip]
What would be the wiki's purpose here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Instead of allowing your users to enter a tags, why don't you put them in
your own web page and just let them enter the url?
For instance you would have your form:
form method=post action=thepage.php
input type=text size=40 name=url
...
/form
The action page (thepage.php) could include something
[snip]
on which page of php.net can I find out what this code does?
$a = $b? $a :dian;
[/snip]
It is a ternary IF statement...verbose
if ($a = $b){
$a;
} else {
dian;
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Haven't gotten anything from the list since yesterday...is it me, or is
it the list. Fix it Jay!!! ;)
[/snip]
I am up to my arse in an application roll-out and you want me to reboot
the computer?!?!?! I don't think so Tim, um er..John!
ROFLMMFAO
--
PHP General Mailing List
look at
http://cvs.php.net/co.php/php-src/ext/mcve/mcve.c?r=1.28.2.2
the m_completeauthorizations function.
-Brad
Chris Cranford wrote:
I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to
pass variables by reference to my function without enabling call-time pass
by reference
Randy Johnson mailto:[EMAIL PROTECTED]
on Thursday, February 24, 2005 2:50 PM said:
Is there a Wiki site for PHP? Is there a need for one?
Been to http://phpcommunity.org/wiki/?
Chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Nichel mailto:[EMAIL PROTECTED]
on Friday, February 25, 2005 6:12 AM said:
Haven't gotten anything from the list since yesterday...is it me, or
is it the list. Fix it Jay!!! ;)
While we're asking questions about the list, is it just me or does it
take everyone's email 30+ minutes
Hi,
I am not able to insert data into my mysql database using php even if
i use a simple code as follows :
?php
$link=mysql_connect(localhost,username,password);
mysql_select_db(test_db);
$query=INSERT INTO 'login' ('uname','access') VALUES ('try','super');
mysql_query($query,$link);
?
even after
You could try:
for ($i = 1; isset( $_POST['qty'.$i] ); $i++)
{
$qty = $_POST['qty'.$i];
$total .= $qty;
echo $qty . 'br /';
}
echo $total;
Dan T
On Feb 24, 2005, at 8:39 AM, Jay Fitzgerald wrote:
I have messed with this for a couple of days and cant get it right.
Try this:
$num=0;
for ($i = 1; $i = $sendnum; $i++)
{
$qty = $_POST['qty'.$i];
$num=$num+ $qty ;
}
echo $num;
Jay Fitzgerald wrote:
I have messed with this for a couple of days and cant get it right. Maybe I
need sleep :-)
The code below is echoing the qty
Chris W. Parker wrote:
Hello,
I couldn't find this anywhere on google or PHP's site but I'm pretty
sure there's an answer to it.
How can I turn the following into something that resembles the ternary
operator?
?php
if($something)
{
$this = $that;
}
?
$this =
Jason Barnett wrote:
Leif Gregory wrote:
Hello Diana,
Friday, February 25, 2005, 7:07:29 AM, you wrote:
D on which page of php.net can I find out what this code does?
D $a = $b? $a :dian;
It's called a ternary operator, basically an if-else statement.
Note to self: write ternary on the
Nope I had not been there. Thanks for the link
Randy
Chris W. Parker wrote:
Randy Johnson mailto:[EMAIL PROTECTED]
on Thursday, February 24, 2005 2:50 PM said:
Is there a Wiki site for PHP? Is there a need for one?
Been to http://phpcommunity.org/wiki/?
Chris.
--
PHP General Mailing List
I'm drawing a GD map from selected points in a database.
I am using imagecreatetruecolor.
I'm outputting PNGs, but could change to JPEG if it would help. [I doubt it]
In experimentation so far, I've found that using the lighter shades is
more pleasing to the eye, in general, so want to stay
Chris Shiflett wrote:
--- Jochem Maas [EMAIL PROTECTED] wrote:
i have mailed the list 235 times since 12-1-05
Nice trick. :-)
I'd put my money on Richard Lynch for all categories:
1. total number of posts
2. highest average no. of posts/week
3. longest post
4. total no. of words written
Warren Vail wrote:
Hi, I'm having a problem with fopen and http files. I keep getting the
error:
Warning: fopen(http://zed/htdocs/rgfindingaids/series594.html )
[function.fopen]: failed to open stream: HTTP request failed!
HTTP/1.1 404
Not Found in
On Thu, 2005-02-24 at 17:49 -0500, Randy Johnson wrote:
Is there a Wiki site for PHP? Is there a need for one?
-Randy
The php.net site doesn't really need a wiki.
or did you mean is there a php-based wiki?
http://www.google.com/search?q=php+wiki
-Robby
--
Jay Fitzgerald wrote:
I have messed with this for a couple of days and cant get it right. Maybe
I
need sleep :-)
The code below is echoing the qty correctly (10, 5, 25)
for ($i = 1; $i = $sendnum; $i++)
{
$qty = $_POST['qty'.$i];
echo $qty . 'br /';
}
You've got errors in your SQL.
For once, table-names should not be quoted (with single or double
quotes), same goes for column names ('uname' and 'access' in your example).
Easiest way to find out without asking is to add a call to
mysql_error(), so called error handling...! That would've told
lef1 wrote:
I am in desperate need of some help in calling a vbscript file from a php
file.
I have searched high and low and have come up with nothing that will do
it.
I have found one example of a html file, which will call a vbscript file
when
the html file is double-clicked, but wont
Jochem Maas wrote:
Wiberg wrote:
Hi there!
fgtcvs works fine, but there's another problem now... I run updates to
the
db for each row (every row is unique) and must be updated. If I run the
script with 2 rows then my site couldn't open the database from
another
location. Is this
Can I set up a PHP script which will strictly only allow instances
of a href=??? and /a and absolutely nothing else? I would like the
http://php.net/strip_tags
You'll still want to use a Regular Expression to rip out every
attribute/value other than HREF, but at least all the other HTML
I have a file 'nav.php', whose source code I want to load into the
textarea on page 'aaa.php', so the source can be edited and changed.
Is there a resource that I can read to help me do this?
Tim,
How about putting this in aaa.php?
?
$str = file_get_contents('nav.php');
echo textarea
Chris Cranford wrote:
I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to
pass variables by reference to my function without enabling call-time pass
by reference in the PHP.INI file?
I think the definition in the C syntax of PHP_FUNCTION will do that for you.
You'll
Bruno Santos wrote:
I need to to an application in PHP with graphics creation.
The database where i need to go and fetch the values is access.
is possible for PHP to fecth values from an access database ??
Sure!
You can Google for PHP MS-Access and find a ton of info.
I'm pretty sure it
--with-mysql=/usr/local/mysql --with-zlib-dir=/usr/lib
And so configure errors out on Cannot find libz
my /usr/lib contains:
zlib.so, libz.so.1 ..
Can anyone tell me what I need to do on my ./configure to get rolling?
It probably can't find /usr/include/libz.h (and friends)
Use
Brian A. Anderson wrote:
the results I could execute this? Would I have to put the ob_start()...
ob_get_clean(); within a function? How would I execute it?
http://php.net/eval
Just be sure a Bad Guy can't insert mean nasty things into the code you
eval()
--
Like Music?
Gerard wrote:
Another interesting note; if you click from page to page fast enough, it
doesn't take as long to load. For some reason, after the initial 5 second
startup hic, it loads consequent pages smoothly. If you wait for 10 seconds
and then click a link, it loads for 5 seconds again.
I don't
yea I just thought maybe a php-wiki would be neat, not one programmed in
php but a wiki for everything php :-)
Randy
Robby Russell wrote:
On Thu, 2005-02-24 at 17:49 -0500, Randy Johnson wrote:
Is there a Wiki site for PHP? Is there a need for one?
-Randy
The php.net site doesn't really need
1 - 100 of 149 matches
Mail list logo