Hi php users,
I have some questions regarding the way developers uses php sessions.
For instance, most developers uses session_start() on top of every page. The
problem is that after visiting each page, a new session file is created on
the server. Now i made a web application that uses the star
thank you :)
"Rasmus Lerdorf" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Means the cookie will only be sent over an HTTPS connection.
>
> On Wed, 5 Mar 2003, Hans Prins wrote:
>
> > Can anyone tell me what the secure argument in the setcookie() function
> > does?
> >
> > setco
Means the cookie will only be sent over an HTTPS connection.
On Wed, 5 Mar 2003, Hans Prins wrote:
> Can anyone tell me what the secure argument in the setcookie() function
> does?
>
> setcookie ( string name [, string value [, int expire [, string path [,
> string domain [, int secure])
>
>
Can anyone tell me what the secure argument in the setcookie() function
does?
setcookie ( string name [, string value [, int expire [, string path [,
string domain [, int secure])
thx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Jason,
Sounds simple. I'll let the SA know what I want and see if I get it.
Hugh
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 10:19 PM
Subject: Re: [PHP] Can't get upload to work and I wonder...
> On Wednesday 05
Have you actually enabled the MySQL extension? You should have a line in
your php.ini that says:
extension=mysql.so
By the way, the Apache that comes with RH8 when combined with PHP does not
give you a production-quality solution. So if you are running this thing
for any sort of important ser
On Wednesday 05 March 2003 13:37, Hugh Danaher wrote:
> Help,
> I've moved my upload script from one host to another, and what worked once,
> isn't working now. In the new site's phpinfo file I see that file_uploads
> is set to "no value" and in the old it was "on." What do I tell my system
> adm
I have an app that runs just fine on RedHat 7.2 with compiled Apache and
PHP along with MySQL binaries installed from MySQL's site. I have a new
machine running RedHat 8.0 that is completely "generic", i.e only RedHat
Apache, PHP and MySQL RPM's installed. The error message I'm getting is:
[04-Mar
Help,
I've moved my upload script from one host to another, and what worked once, isn't
working now. In the new site's phpinfo file I see that file_uploads is set to "no
value" and in the old it was "on." What do I tell my system administrator to do to
get this feature enabled?
Thanks for any
Hi,
Wednesday, March 5, 2003, 1:47:39 PM, you wrote:
G> Tom Rogers wrote:
>> Hi,
>>
>> Wednesday, March 5, 2003, 12:45:27 PM, you wrote:
>> G> Hi All,
>> G>I need to suppress the session id in some links. The xhtml needs to
>> G> validate and the session id will no do so. A lot of people tha
On Wednesday 05 March 2003 11:15, AD wrote:
> I'm getting this error while testing the script below just for
> connectivity. Mysql is running on XP and apache and php are on openbsd. It
> seems like I don't have something configured right in php I guess but I'm
> not sure. Here is the script:
Sear
http://www.php.net/manual/en/function.preg-quote.php
preg_quote($var, '\'')
preg_quote($var, '"')
Thank you for asking this question. I learned something new. This
looks like a good way to mitigate SQL Injection attacks as well.
-Original Message-
From: Daniel Guerrier [mailto:[EMA
www.php.net/htmlentities
Daniel Guerrier wrote:
If I have text containing quotes, single or double in
my database, and I try to set the text as a value for
my html text field. The quote in the text will
prematurely close the value="" or value='' html and
cut of the remainder of the text. How ca
I forgot to mention that I'm use add and stripslash
on
the data so magic quotes wouldn't help. The problem
is the " from the text is closing the " from the
html.
>
> --- Bryan Lipscy <[EMAIL PROTECTED]> wrote:
> > Look up magic quotes in the docs.
> >
>
http://www.php.net/manual/en/ref.info.php#
I forgot to mention that I'm use add and stripslash on
the data so magin quotes wouldn't help. The problem
is the " from the text is closing the " from the html.
--- Bryan Lipscy <[EMAIL PROTECTED]> wrote:
> Look up magic quotes in the docs.
>
http://www.php.net/manual/en/ref.info.php#ini.magic-q
Hi
If $line is == '', you will get an error. Try @split('|', $line), or add a
test for empty lines like if (empty($line)) continue;
if you var_dump($line);, you'll probably see that there is an empty line in
members.txt
Regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
"Richard Kurth" <[EMA
Look up magic quotes in the docs.
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc
The docs are mmm mmm good.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oh, my configure
'./configure --with-apxs2=/usr/sbin/apache/bin/apxs --with-gd2 --enable-sock
ets'
"Clete Rivers Blackwell 2" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ok,
>
> I have RedHat 8.0 with the everything box checked in packages... when I
> build the CVS of PHP5, it te
Ok,
I have RedHat 8.0 with the everything box checked in packages... when I
build the CVS of PHP5, it tells me that tempnam is dangerous and to use
makename or something... I think it's a code bug, but just in case, does
anyone know if this is due to an outdated version of some program?
Thanks in
Hi,
You will benefit from enclosing all of the attributes in quotes, as in
In addition, make sure your a name tag has a closing tag like
Regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
"Beauford.2002" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Not sure if this is a PH
Tom Rogers wrote:
Hi,
Wednesday, March 5, 2003, 12:45:27 PM, you wrote:
G> Hi All,
G>I need to suppress the session id in some links. The xhtml needs to
G> validate and the session id will no do so. A lot of people that visit
G> the site will try to validate the xhtml and css.
G> I call the
If I have text containing quotes, single or double in
my database, and I try to set the text as a value for
my html text field. The quote in the text will
prematurely close the value="" or value='' html and
cut of the remainder of the text. How can I prevent
this.
I curently have this:
"); ?>
I
>What's e.g. mean?
Latin: exempli gratia
Translated: for example
i.e.
Latin: id est
Translated: that is
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Or
$row = mysql_fetch_objects()
then use $row->fieldname;
--- Joel Colombo <[EMAIL PROTECTED]> wrote:
> not mysql_fetch_array unless u need those int
> indexes.
> mysql_fetch_assoc is the same thing but does not
> index the integer value,
> just the string field name.
>
> Joel
>
>
> "Leif K-Br
Search php.ini for:
auto_prepend_file =
you need the exact location of the file at the end (e.g.
/var/www/html/this.php)...
Also, you can do an auto_append_file.
What's e.g. mean? I know how it's used, but what does ir stand for? lol...
"Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote in message
Hi,
Wednesday, March 5, 2003, 12:45:27 PM, you wrote:
G> Hi All,
G>I need to suppress the session id in some links. The xhtml needs to
G> validate and the session id will no do so. A lot of people that visit
G> the site will try to validate the xhtml and css.
G> I call the links with
G> +1
I'm getting this error while testing the script below just for connectivity.
Mysql is running on XP and apache and php are on openbsd. It seems like I
don't have something configured right in php I guess but I'm not sure. Here
is the script:
\n";
while ($line = mysql_fetch_array($result))
Hello,
On 03/04/2003 10:47 PM, Terry Lau wrote:
> Hello,
>I want to use the mail() in my Linux computer.But I don't know how to
> set the php.ini file to enable it.I am using the SMTP server provided by
> ISP. Do I need to setup my own mail server?
You do not need a SMTP server to send mess
Hi All,
I need to suppress the session id in some links. The xhtml needs to
validate and the session id will no do so. A lot of people that visit
the site will try to validate the xhtml and css.
I call the links with
+1
and and the server generates
+1
W3's validator gives me this
http://vali
dont know..i would think you could but i have all my php tasks like crontabs
running in windows and they work just fine... hehe didnt think i could do
that but when i tried it it worked grin!
- Original Message -
From: "John Taylor-Johnston" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sen
On Tue, 04 Mar 2003 18:32:33 -0700, you wrote:
>I know, it can't be done in PHP. That's not exactly what I'm here
>for. I have a client who would like to redirect people to a polite
>'upgrade your browser' page whenever people visit his site (which has
>been developed in PHP no less). My
On a site I worked with we rely on browser detection in order to send the
correct stylesheet and other bits that make it more compatable on older
browsers. Browser detection is not just used to block unwanted browsers.
On Tue, 4 Mar 2003, Leif K-Brooks wrote:
> Checking browsers is pure evil, bu
Checking browsers is pure evil, but if you must, use
$_SERVER['HTTP_USER_AGENT'] on the server side.
Ashley M. Kirchner wrote:
I know, it can't be done in PHP. That's not exactly what I'm here
for. I have a client who would like to redirect people to a polite
'upgrade your browser' page w
I know, it can't be done in PHP. That's not exactly what I'm here
for. I have a client who would like to redirect people to a polite
'upgrade your browser' page whenever people visit his site (which has
been developed in PHP no less). My question here is, how can I make
this so that regar
Way does this give me this error
Warning: REG_EMPTY: in emailusers.php on line 52
$lines = file("data/members.txt");
foreach($lines as $line){
list ($logged_email,$logged_title,$logged_first_name,$logged_last_name) = split("|",
$line);
if ($logged_email==$email) {print "This email has already
Darren Young wrote:
Does anyone know if the PHP included in RedHat 8.0 has sockets enabled?
It was in 7.3, I see no reason why it wouldn't be in 8. Load up
phpinfo() and see.
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+---
Does anyone know if the PHP included in RedHat 8.0 has sockets enabled?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You said yourself that you wanted to link to another part of the page. So
does that mean a certain section of the current page or a section in a
different page?
Either way when linking to another page you link by doing this:
An anchor in the same page:
An anchor in a different page:
Just
Hello,
I want to use the mail() in my Linux computer.But I don't know how to
set the php.ini file to enable it.I am using the SMTP server provided by
ISP. Do I need to setup my own mail server?
Thanks!
Terry
_
¤µ¤é¬P®y http://
I know, it can't be done in PHP. That's not exactly what I'm here
for. I have a client who would like to redirect people to a polite
'upgrade your browser' page whenever people visit his site (which has
been developed in PHP no less). My question here is, how can I make
this so that regar
You understood me. You're right, I can load the document like you said, and
I'll do it that way. The page won't scroll to the exact position it was
befor the submit. It would do so if I could use javascript. But its good
enough.
Thanks everyone!
Lars
"K1llersush1" <[EMAIL PROTECTED]> skrev i m
Thanks for the info, but the # is not used in this way from the information
I have read.
. . .
Define a target location in a document
. . .
Link to a location in the base document, which is the document containing
the anchor tag itself, unless a base tag has been specified.
- Origina
Use a .htaccess, though I do not know what to put. You can zip the image up,
or unset the AddType image/gif/jpg/whatever .gip/jpg/whatever in
httpd.conf...
it may work to make it appear as an unknown file, .htaccess:
AddType thisdoesnotexist/thisdoesnotexist .jpg .gif .jpeg .png
"Doug Coning" <
I am still trying to get GD to work on my system, but you need to output a
header:
header("Content-type: image/jpg");
then at the end:
imageJPG($im);
It should work if I'm not wrong...
"Anthony Ritter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Using PHP 4.1.1. / Apache / Wi
> They do, and I believe it's until the end of the
> currently-running PHP script.
Perfect! Thanks.
Joseph
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
--
PHP General Mailing List (http://www.php.
Thanks Keven. Didn't see that.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello.
I tried what you suggested and it's working alright. The problem is, that it
doesn't always work. I adapted your suggestion to what I needed. Instead of
creating a file, I made a fuction that does basically the same. All listed
files are links that enable the user to download them.
So far
Hi,
Is there a way of updating a table so that I can add some sort of identifier
to each field, something as simple as x=1 will do. I want to be able to
modify the table so I can set a variable for each column so I can tell
whether I can let a user modify that field. If I modify the fieldname then
thanks :)
"Jome" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Clete Rivers Blackwell 2 wrote:
> > Is there a newsgroup server for this mailing list?
>
> news.php.net
>
> --
> Jome
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
Where is $line coming from? The function won't output what you don't input.
Other than that I don't see anything wrong.
- Kevin
- Original Message -
From: "John Taylor-Johnston" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 4:33 PM
Subject: [PHP] syntax error
Hi all,
How come some servers (like one of our RH7.3s) can accept a
www.somewhere.com/foldername without the trailing slash and others (like
my RH8.0) gives a 404 error?
-Michael
--
Some people's minds are like cement; all mixed up and permanently set.
Life is full of obstacle ill
Sigh :) It all works so much better if I use:
if(eregi('^au: (.*)$',$line,$m)) {
But I want to use a function. But nothing is returned. So what did I do wrong now?
--snip
echo filter_strings("au:");
function filter_strings($tofilter){
echo $tofilter."";
#if(eregi('^$
AFAIK, you're either lacking those files or they are not compatible with Apache or
some other module. I personally think it's the first option.
BTW; normally, every php*.dll file resides below the main php install directory,
except that file, which should reside on WIN[dows|nt]\System[32], as th
Take the truncating out of the picture, and just concentrate on returning
two results from mysql. If that works, then try it with rows that contain
an exclamation mark (!).
If they both work, THEN concentrate on truncating the variable down.
Let us know how far you get, so we can pinpoint the pr
Using PHP 4.1.1. / Apache / Win 98
I'd like to use a .jpg from another URL - say:
http://www.blah.com/foo.jpg
and turn it into a variable using PHP and then once it is a variable to try
to manipulate that image using GD Libraries which are installed.
Is this possible?
I tried placing the strin
This is not a PHP issue -- it's a javascript issue... try a JS newsgroup or
list.
Justin
on 05/03/03 1:10 AM, Lars Espelid ([EMAIL PROTECTED]) wrote:
> I'm trying to implement the following functionality into the file test.php:
>
> When I scroll down the page and then hit a button, the page s
in httpd.conf i have the line:
LoadModule php4_module "C:/Program Files/Maguma
Studio/php/sapi/php4apache.dll"
i get the line when i start apache:
[warning]: syntax error on line 860 in httpd.conf: cant load module because
the library required for this application cant be found: (1113)
review the l
Clete Rivers Blackwell 2 wrote:
> Is there a newsgroup server for this mailing list?
news.php.net
--
Jome
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a newsgroup server for this mailing list?
for ($i = 1; $i < 6; $i++) {
echo "Destination\n";
}
You forgot the # sign.
Cheers!
Rick
Happiness is not a destination. It is a method of life. - Burton Hills
> From: "Beauford.2002" <[EMAIL PROTECTED]>
> Date: Tue, 4 Mar 2003 17:21:20 -0500
> To: "HWG Basics" <[EMAIL PROTECTED]>
> Cc: "PHP
Not sure if this is a PHP or HTML problem, so I have posted it to both
lists. I have a table with with 5 itmes in which I want to click on and go
to a different part of the page.
Click 1
Click 2
Click 3
Click 4
Click 5
Now this is where it gets interesting.
I have a PHP script which loops 5 time
Hi,
I'm developing a flash site that uses PHP and MySQL to pull in images. My
client would like to have a button in flash underneath the images he has
shown that would enable the viewer to download the images to their own
harddrive.
I know I could set it up to open the picture in a new window an
hi
my hosting service doesnt provide xslt module for php. but i need to use
xslt in php. what can i do ?
thnx
Gurvinder
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Can I run a php script in crontab?
> Do I echo or print?
> Anyone doing it?
Well, why don't I just completely misunderstand the question. Sorry,
everyone.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've not seen anything to indicate to me that running php scripts in a cron
job (via php compiled as a CLI) is any less secure than running cron jobs
written in any other language.
All of mine are 700 root, the cron process runs as root and I understand
that. Since I'm the root on the box, it's ok
ok put an example in
- Original Message -
From: "Boaz Yahav" <[EMAIL PROTECTED]>
To: "Sunfire" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 2:09 PM
Subject: and
This looks like a great example to add to weberdev.
would you care to spend 3 minutes and let other PHP developers enj
Hello,
I have the weirdest thing going on...I have an image upload field that
has been working fine for months and months, and as of yesterday now
every file that is uploaded has a size of 0!
After testing, I noticed only 1 mime type that didn't have a size of 0
and it was 'application/x-macbin
i think one of us misunderstood your posting ...
my suggestion was simply to put a php script in your crontab to be run
whenever you set it to go .. if you are writing a php script to update
crontab for you as Liam understood your message it is not a good idea (
actually it's a really bad idea :)
> I want to run /var/www/backup_mysql.php
Are you just trying to backup your MySQL database? If so, check this out:
http://members.lycos.co.uk/wipe_out/automysqlbackup
Edit a view configuration variables (db to be backed up, path, etc), throw it in
/etc/cron.daily, and forget about it.
I does
http://php.resourceindex.com/
search for NNTP.
On Tue, 4 Mar 2003, Mike Walsh wrote:
> I am looking for some PHP code that implements an NNTP interface that
> doesn't require IMAP.
>
> I do not need a full featured NNTP implementation and it only needs to
> support read access. If anyone knows
Cal, Liam, Jimmy,
Thanks. If this is a serious security hazard, could you show me some code that is more
secure? I am the "root". Mind you I've never worked with crontab before. I want to run
/var/www/backup_mysql.php I suppose I should start by putting it somewhere not
publicly accessible?
Tha
1: yes you can.
2: You can use either print or echo. I use echo when I actually want
something output, most of my scripts don't output anything. If there is some
output of import, I use mail() to send it to myself.
3: Yes, I am.
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianp
> Can I run a php script in crontab?
> Do I echo or print?
> Anyone doing it?
This is a serious security hazard. However, what you could do is have a PHP
page set cron settings (such as name of file, location, frequency, and
importance), then have another cron job (running at a decent frequency) d
Can I run a php script in crontab?
Do I echo or print?
Anyone doing it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi ppl,
I am updating a database with the following:
$lines = file ('../includes/new1.csv');
foreach ($lines as $line_num => $line) {
list($npr_nr,$npr_exvat,$npr_desc) = explode(",",$line);
$query = "SELECT product_id,product_nr, product_cost_exvat,
product_description, product_price, updated
Not sure If I understand what you mean. You load a file like
yourdocument.php#4 it will automatically jump to anchor named "4" in that
document. No further clicking involved.
"Lars Espelid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've tried this and it works fine, but then th
> If I am going to use date('U') to insert an epoch timestamp into a
> mysql table, what is the appropriate field type to use?
Integer.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am looking for some PHP code that implements an NNTP interface that
doesn't require IMAP.
I do not need a full featured NNTP implementation and it only needs to
support read access. If anyone knows of such a thing I would greatly
appreciate a pointer. My Google searches have not turned up anyt
If I am going to use date('U') to insert an epoch timestamp into a
mysql table, what is the appropriate field type to use?
thanks
charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a similar problem. I made a multiple file upload script and when the
size is too big, PHP seems to ignore it, even though the files are well
inside the max_upload_size...
Are you sure that you aren't actually entering an infinite-loop or
something? It seems odd...
I can't think of nothing
> I am using the folling code to list all of my tables in a database:
> however, i would like to show the user how many rows there are in each
table
> (where i have put numrows), how could i do this?
This will be costly on process time, but you could just do a SELECT COUNT(*)
on all the tables. If
Hi,
I am using the folling code to list all of my tables in a database:
Table
Action
Records
";
while ($row = mysql_fetch_row($result)) {
print "
$row[0]
add
data
edit
data
> 1) Do the temp files automatically delete, or do I
> need to put something in the code to delete them?
They do, and I believe it's until the end of the currently-running PHP
script.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I will do that Henry,
Dan
-Original Message-
From: Henry Grech-Cini [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 2:01 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP shopping carts
Hi,
Please let me know if you find one thats any good?
Henry
"Dan Sabo" <[EMAIL PROTECTED]> w
Never mind, I solved it--behavior was caused by a script call to a UNIX
function which didn't exist on the new server.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Invalid syntax. Replace '->' with '=>'. Also building arrays and using
implode() is an alternative method to building the string..
foreach($_POST as $key => $val)
{
$fields[] = $key;
$values[] = $val;
}
$fields = implode(', ', $fields); // collapse to string
$values = implode(', ', $val
Ernest E Vogelsinger wrote:
At 19:55 04.03.2003, Joseph Bannon spoke out and said:
[snip]
Regarding file uploads...
1) Do the temp files automatically delete, or do I
need to put something in the code to delete them?
2) If automatically, how long? Where can
thanks for your reply but it doesn't work, i get the following output:
INSERT INTO Table (Object, Object, Object, Object, ) Values (, , , , )
any ideas?
"Bobby Patel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> $fields='';
> $values='';
>
> foreach ($_POST as $field -> $value)
$fields='';
$values='';
foreach ($_POST as $field -> $value) {
$fields .= $field.", ";
$values .=$value.", ";
}
$fields = substr ($fields, -2); // strip off last comma and space
$values = substr ($values , -2); // strip off last comma and space
$query = "INSERT INTO $_GET[table_name] (".$
Even set_time_limit(0) does extend the timeout. Always a 30 second timeout.
Any other ideas?
thanks,
-eric wood
> I'm uploading a large file through my web page and after 30 seconds, the
> fails with an error. I bumbed the max_execution_time parameter in
> /etc/php.ini to 600 seconds and resta
At 19:55 04.03.2003, Joseph Bannon spoke out and said:
[snip]
>Regarding file uploads...
>
>1) Do the temp files automatically delete, or do I
>need to put something in the code to delete them?
>
>2) If automatically, how long? Where can I set the
>length of
At 19:37 04.03.2003, Ian A. Gray spoke out and said:
[snip]
>Hi everyone.I am probably doing something obviously
>wrong but I can't seem to sort it! It's regarding
>variables.In one script, lets call it main.php I make
>a variable- say $colour. It inludes a
Hi,
Is it possible to scroll through values posted from a form using PHP? Here
is my problem: I have a form on a page which is created dynamically from the
number of fields in a particular table, so when I POST the data how do I
create the INSERT statement? I feel this will be awkward due to the
c
Regarding file uploads...
1) Do the temp files automatically delete, or do I
need to put something in the code to delete them?
2) If automatically, how long? Where can I set the
length of time until they are deleted?
3) If not, is there a place I can make it be
automatic?
Thanks
Joseph
__
On 03-Mar-2003 Dan Sabo wrote:
> Thanks Larry,
>
> What are some of the more active MySQL lists? Do you have a URL or two?
>
> Thanks,
>
> Dan
post to [EMAIL PROTECTED]
or browse http://www.mysql.com/documentation/lists.html
Regards,
--
Don Read [EMAIL
I've been trying to use fsockopen and it fails to get by if (!fp) and returns an errno
of 0.
In the documentation it says that indicates an error initializing the socket. Is there
anyway I can debug this or find out what is going wrong?
Jeff
> Ok, this works fine for me. However it doesn't seem
> to work when main.php and new.php have html in them.
You are doing something wrong then. Show us a simple example that doesn't
work.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Hi everyone.I am probably doing something obviously
wrong but I can't seem to sort it! It's regarding
variables.In one script, lets call it main.php I make
a variable- say $colour. It inludes a file which
prints the variable:
main.php
new.php
Ok, this works fine for me. However it doesn't s
PHP 5 will allow your assumption, i.e. $db will resolve to the $db in the
class namespace. If you also have a global variable named $db, you can
refer to it using main::$db, instead of using the global statement. Pretty
slick, if you ask me.
By the way, check out PEAR's DB and MDB classes,
http:
I've been attempting to figure out regex, and I've realized I need to start
over from scratch. And get lots of help!
I'm inputting a text file containing html which will contain this:
IBM
2:59pm
76.17
I need to be able to match this string via a variable. I would like to put
everything from th
1 - 100 of 196 matches
Mail list logo