afraid of using mysql with php cause i'm in hurry and that i discovered
that mysql interface is not as good and easy as of oracle and access! is it
true that if i want to insert data to a table i have to do it from the
commend
How does Smarty compare with PHP FAST Template??
- Original Message -
From: "Danny Shepherd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 2:51 PM
Subject: Re: [PHP] PHP Framework
> Well, Yahoo! have moved/are moving to Smarty a
I am trying to create associative array in a while loop..
$image_array = array();
$image_array = array_push("$file_name"=>"$image_url");
what i am doing wrong??
I have a quite complex search form where I have multi select drop down menu..the form
can be seen at http://www.bangladeshimatch.com/advance_search.php.
I can pass the array variables from the form to another page to process the form
without any problem, but when I try to pass the same array vari
PHP codes gets executed at the server (server side), so I wonder how you can
make it to work at the client side?
But good thinking :)
huzz
- Original Message -
From: "Pete" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 12:55 PM
Subj
There is a good article on user management @ www.devarticles.com
- Original Message -
From: "Davy Obdam" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>; "PHP-WIN"
<[EMAIL PROTECTED]>; "PHP-DB" <[EMAIL PROTECTED]>
Sent:
On 12 Feb 2003 at 21:50, anders thoresson wrote:
> I've just started to read about - and will soon try to write - object
> oriented code. I think I've got the basics both from the PHP-books I have,
> and from various sources on the web.
>
> But nowhere have I read a g
On 13 Feb 2003 at 17:00, Darren Young wrote:
> I'm looking around for some options on using templates with PHP. I've
> used several Perl solutions in the past, but never tried it in PHP.
> Digging on the web yields several options so I'd love some thoughts or
> commen
>
> $pattern = '/<(' . $suspect_tags . '[^>]*>)(.*)(?!<\/\1)/Ui';
>
> if (preg_match($pattern,$_POST['entry'],$matches)) {
>
>//do something to report the unclosed tags
>
> } else {
>
>echo 'Input looks fine. No unmatched tags.';
>
> }
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this code doesn't ouput a session-id.
is the code right? and if not, any suggestions what's wrong?
i'm new into sessions, so forgive me for stupid questions..
thanx
michiel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ave control on when they close the session: is it
possible to have php run a mysql-query after their browser is closed, with
their inserted data?)
* storing all the sessions in a mysql-table, deleting the ones that aren't
relevant
>> pretty much the same question: how can I check on the
Hi all,
I joined your list hoping to find-out how to convert a .asp page to .php
I do realize that I am off the mark on this
and there is much to learn in this area.
Perhaps one of you could point me to a place where I get small sample
pages in php so that I can get started with .php in a
t writing
anything however its the same.
while(!feof($pipes[1])) {
echo fgets($pipes[1], 1024);
}
fclose($pipes[1]);
//fclose($pipes[0]);
$return_value = proc_close($process);
echo "command returned $return_value\n";
}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ED]>
Sent: Wednesday, June 04, 2003 12:09 PM
Subject: [PHP] Imgs in Database
> Im converting a site from asp to php, Its db driven and some images are
> stored in the db.
>
> The previous developer stored the image files in a text string format, Im
> assuming I have to convert the t
Well, I'm a little light on techniqueso bare with me...
I've got pages that are dynamically created via a perl program. The final
HTTP output depends upon input to the perl script.
I would like the output of this script to be interpreted as a .PHP page so
that I can take advant
I'm having a problem configuring my web server to redirect 404 errors to
a custom error page. It almost looks like the PHP parser is getting hold
of the request before apache has checked to see if the file exists.
It works fine if you request an unknown page on the server that isn't
a
I'm trying to configure my php.ini file on my local Windows 2000 system so I
can use the extensions such as GD, etc. I have changed the line:
extension_dir = C:\php\extensions ; (which is where php_gd.dll resides)
and uncommented:
extension=php_gd.dll
and when I restart the web servic
Why don't you try chmoding the file 777.
Next use readfile:
http://www.php.net/manual/en/function.readfile.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
How is possible to charge some products on E-Shop in php to users with VISA
cards???
Are there some good tutorials on net about this???
Or examples???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I need to build php as a CGI for some scripts that need to run as the user
(image gallery scripts, where safe mode isn't enough to write to user
directories, I need the files written AS a user, and chmodding the
directory 6777 is just nuts.).
To this end I figure I can add a new
Hi all,
Until yesterday i was running Apache/2.0.36 (Unix) mod_ssl/2.0.36 OpenSSL/0.9.6c
PHP/4.2.1 and was able to flush script output to browser (using flush() ), before the
script stops executing. I upgraded to Apache/2.0.40 (Unix) mod_ssl/2.0.40
OpenSSL/0.9.6g PHP/4.2.3 and on the same
I do not have compression in apache
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 3:38 PM
Subject: Re: [PHP] Unable to flush output
> Didn't you enable some apac
gainst using an array (as a friend suggested) but I'm not
understanding what he was getting at. (quick conversation with him)
Anyway, any ideas on this sort of thing would be great!
Thanks.
John B. Abela
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tions to the poll, you will see the effect on the
other options which you had already created. This is not a phpBB problem, as
it occurs in other non-related php files on the server, but as I said this
illustrates the effect well.
You can also see what it did to a menu in postnuke on the serv
If I want to use sql to access MS Access's database, is it necessary to have
mssql server?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
By Using mssql_???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Upload a News Article
Article Title:
Article Body:
This is the show part, very simple.
%s",nl2br($row[2]));
}
?>
back
Probably something very simple but thanks in advance
$_SERVER['REMOTE_ADDR']
- Original Message -
From: "Bret L Conard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 28, 2002 4:46 PM
Subject: [PHP] IP addresses
Hi all,
I've been away for a while but I'm back and have a ques
I have a fairly obscure setup where I have procmail directly executing a
PHP script specially made for this purpose. This php script uses the same
code (classes) used for the web applications, and the classes works just
fine.
The symptom: I am getting double INSERT's into database.
Concl
Anyone know why php would complain about not having permission to write
the session file in /tmp (and to check the session.save_path var in my
php.ini file. when it does specify /tmp in the php.ini and /tmp has
drwxrwxrwt for permissions?
I need a resolution... even if we have to pay for it
hen I have another login prompt for the frames.
My question is, is there anyway I can fix problem 1, and in problem 2
is there anyway to proxy this in a better way, where you input the
login once and it stay there so i dont get any more login prompts?
Thank You.
--
PHP General Mailing
tecnically whats the diffrance if I do:
require("http://localhost/image.gif";);
or
require("http://www.domain.com/image.gif";); ?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
image.gif";);
> > or
> > require("http://www.domain.com/image.gif";); ?
>
> The first one requires the file at "localhost/image.gif", and the
second
> one requires the file at "www.domain.com/image.gif".
>
>
> Erik
>
>
>
>
Note: For a couple who seem to be wondering there is a PHP news server which
works in conjunction with this mailing list. The address is: news.php.net
Currently collect the following vars in a early stage stats program(Working
on the KISS principle) for my own use.
Here are the user vars I
.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if the query string HAS or DOESNT
HAVE a "&" at the end.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uot;)
The thing is I need it to match also if after the "&" there is a number
(that will have more than 1 digit)
Ive tried many diffrent thing with \d+ but I can get it to work.. can
somebody give me some light? Thanks.
--
PHP General Mailing List (http://www.php.n
Hello,
I need to get _$POST into a string in this form:
tree=green&sky=blue&sun=yellow , how can i accomplish this?
THanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I got this example of sessions: www.net.co.cr/test/test.php ,
however, as you can see in the code at /test/text.txt , isnt $_SESSION
['tree'] suppose to contain a value and not be NULL?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
ot;
> > border=0 frameborder=0 FRAMESPACING="0" NORESIZE SCROLLING="no">
> > border=0
> > frameborder=0 FRAMESPACING="0">
> >
> >
> >
> > '; }
> >
> > if ($QUERY_STRING == "1.html")
>
is frame.
> // .. blah blah blah..
> }
>
> Also set your variables before you register them into the session.
If you
> don't have register globals on it won't work the other way around.
Hope
> this helps. Very clever by the way I never thought of doing it this
way.
&g
Hi all,
I tried to download the manual of php
wget http://www.php.net/manual/en/
I got a lot of files but not linked to read off line
the links where all to the website.
http://www.php.net/manual/en/faq.php
http://www.php.net/manual/en/zend.configuration-macros.php
Can someone please help me
tta.lk/
Whosoever rejects the words of the noble, righteous Arahants, such a fool, because of
his false views, brings forth on his head ruin and destruction, like the banana-tree
which dies when it has borne fruit.
Random Dhammapada Verse 164
--
PHP General Mailing List (http://www.php.ne
dn't help. Any other
ideas? Anyone else have an idea?
Thanks,
Jonathan Duncan
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
This used to work before I upgraded my PHP.
[/snip]
Let me guess, you upgraded without actually reading the R
Hi,
Is there anyway of saving a form with layout and data, without knowing what the fields
are?
I would like to be able to have the use "Upload" there own form. Then that form can be
later viewed and filled out by someone else and be able to save all the data that was
entered.
I can do this easy
ke so:
Jan
Feb
To: "PHP" <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]>
Sent: Wednesday, October 08, 2003 12:58 PM
Subject: RE: [PHP] Saving Form Data
> [snip]
> Is there anyway of saving a form with layout and data, without knowing
> what the fields
Thanks,
I thought of this, unfortuanetly the user uploading the form would have no
clue in being able to build the form with the $_POST tags already in it.
> PHP wrote:
> > Hi,
> > Is there anyway of saving a form with layout and data, without knowing
what the fields are?
> &g
Here is the real life idea:
A Supervisor, knows nothing about php, creates a simple form, say a time
sheet, in something like FrontPage.
He then uploads that form to the server.
An employee then looks at a page on the server that will retrieve the form
data that the supervisor made, and
imap_close($mbox);
?>
-- End of Forwarded Message
-- End of Forwarded Message
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
when I click on a link in
> P> the email.php to open the email in body.php, $msgid is not defined in
> P> body.php. It's got to be something basic, but right now, it escapes me.
> P> Right now this is running on my Windows 2000 Pro machine.
>
> At the start of body.php
10210 - 111 Street,
Edmonton, Alberta
T5K 1K9
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am not sure how to go about this. =( I think my problems are twofold.
problem 1. I have to connect to a progress database, for which there is
no built-in php
support. I have been looking at the unified ODBC functions, but progress
isn't
one of the supported dbs there either.
problem 2
Hi
I created a directory and files 3 directory's down
root/dir1/dir2/dir3/files
now i need to include my function file out of the root
root/dir/funtionfile
How do i do this?
I cannot create a htacess file on this server nor set my include path.
Can anyone help please
Thanks
--
Hello
I've been using the image functions to resize images and do very basic stuff. I have
PHP 4.2.2 with the built in GD.
I was wondering if there's a way to access the raw image data, somethiung like
image_get_as_array()
so that you can do more nifty things, such as applying c
-9]{1,2})\/([0-9]{2,4})/", $dateuk, $m='');
$dateus = "$m[2]/$m[1]/$m[3]";
[0-9]{1,2} matches one or two numbers from 0 to 9
\/ matches /
(...) the first brackets-pair will go to $m[1] the second to $m[2] ...
g. martin luethi
--
PHP General Mailing List (http://www.php.n
pon a fix for my issue yet.
>
> Currently, images are served on a site I'm working on in two ways:
>
> 1) Free Images are served normally ().
> 2) Non-Free Images are served through a PHP wrapper with authentication
> functionality in it ().
>
> The issues I'm ha
ab12345
> [0] = ab
> [1] = 12345
>
> string = åäö1234-66
> [0] = åäö
> [1] = 1234-66
>
> Lots of thanks in advance,
>
> sincerely
>
> Victor
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
" GMT");
header("Cache-Control: private, max-age:0");
header("Pragma: no-cache");
or download the file without the php-script and analyse the
http-headers with a network-sniffer
(http://www.ethereal.com)
g. martin luethi
Tue, 20 Jan 2004 10:14:29 -0500 Ben Ramsey <
save the data from the script to a file and download this file
Tue, 20 Jan 2004 12:56:49 -0500 Ben Ramsey <[EMAIL PROTECTED]>:
[EMAIL PROTECTED] wrote:
> or download the file without the php-script and analyse the
> http-headers with a network-sniffer
There is no way to downlo
A few months ago I modified PHP 3.0.16 to add an optional fourth
parameter to the mysql_connect() functions. The parameter specifies
a timeout (in seconds) on the connect(). The patch simply uses the
existing mysql_options() function in the MySQL library so it's
quite stable code.
I
Hi,
I'm trying to the MSXML DOM 3 from Visual Basic and send XML to a PHP page
that sits on my Apache web server on SCO Unix.
This is my VB Code:
Dim xmlstr As New XMLHTTP30
Dim sXML As String
sXML = "Content-Type: text/xml;"
sXML = sXML & ""
sXML = sXML &
Good day to you all
How can I keep php scripts from reading the /etc/passwd (for example) or
any other file?
Sincerely,
G. Dimitrov
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Hi everyone.
I have trouble uploading files while in safe mode
.Warning: SAFE MODE Restriction in effect. The script whose uid is 206 is
not allowed to access /tmp/php6wtDUc owned by uid 0
Can someone help me pass around this problem?
--
PHP General Mailing List (http://www.php.net/)
To
/en/function.mail.php
> <http://www.php.net/manual/en/function.mail.php> explains how to do it.
If
> you mean anything else please elaborate
>
> Tim
> www.chessish.com <http://www.chessish.com>
>
> ------
> From: Deependra B. Tandukar [SMTP:[EMAIL PROTECTED]]
&g
Is it possible to create a new pop account and a new alias on a server
with php ?
How ?
Ilic.
--
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 administrators, e-mail: [EMAIL
bably is.
What would be useful is a set of PHP programmatical interfaces to
other list managers (eg, Mailman), let them do what they do well, and
have PHP talk to them to add/subscribe/etc. It's a real pity that
they don't have XML-RPC interface (that I know of).
Alister
--
PHP G
etc...
example
http://www.mydomain.com/member.php/moneypower/test.html
I have experimented with the php variables that come in , but the only way I could
figure out to get test.html out of there is If I captured the $PATH_INFO AND did a
str_replace on all the html filenames on that site and
Hello,
Is it possible to do the load data info mysql command via PHP
I get an access denied error from mysql when i try to do that.
Thanks
Randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://infinitep.t35.com/countmein/control.phtml\";>";
echo "";
echo "";
echo "Username:";
echo "";
echo "Password:";
echo " ";
echo "";
}
?>
I can't determine what's wrong. It
http://infinitep.t35.com/countmein/control.phtml\";>";
echo "";
echo "";
echo "Username:";
echo "";
echo "Password:";
echo " ";
echo "";
}
?>
I can't determine what's wrong. It
Dear Sir,
We are choosing some tools for building applications. Php is a very good tools to
build web applications, but we don't know if it can generate printable
reports. "Printable reports" mean the report you can print what you see on screen
(like winword).
We are as
Thanks for the suggestion but it didn't make any difference.
Currently my http.conf file has
AddType application/x-httpd-php .htm .php .php4 .php3
AddType application/x-httpd-php-source .phps
I also have no .htaccess file to overide these settings.
Anyone got any more ideas?
Regards
What CVS software do you recommend?
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I am running the module version of php(4.0.5) AND have a cgi
version compiled. The cgi version is php 4.1.1(compiled with
--enable-discard-path) and this is on a sunOS 5.8 box. I am trying to run
a setuid wrapper that calls a .php4 script. Whenever I enter
the url to the .cgi
Hi,
I have been toying with my php builds (on linux), and upgraded my mcrypt
library
and subsequently killed php.
make[1]: Entering directory `/usr/src/1/php4/Zend'
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main -I../TSRM -g -O2 -prefer-non-pic -s
Sorry,
wrong list
--
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 administrators, e-mail: [EMAIL PROTECTED]
ng if anyone who is using dom support correctly
could
tell me which versions work for them.
Thank you,
Sean
--
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 administrators, e
Hi,
I need to use PHP from cvs for other reasons. Anyway,
libxml 2.3.9 -> Configure wants a higher version (2.4.2).
libxml 2.4.6 -> Causes the trouble.
libxml 2.4.2 -> Wont build - dies after configre
libxml 2.4.5 -> same problem
BTW, this error appears for xmltree calls.
a
On Mon, 29 Oct 2001 14:02:32 -, you wrote:
>The idea of a template system is that the HTML code/presentation of the final view to
>the user/browser, can be
>devised/maintained quite separately from the PHP code required to pull data out of
>the back-end
>db/processing/wh
of {parsing a document for
certain info and echo/printing it out into html.
To keep the long question short-
-
I, must confess that i have little experience with PHP-programming-
the wonderful implementation of php-MySQL and ZEND makes it too easy
for me to put everything in
s to Dina for sharing this with me- and she says it ways guys on
the #php irc channel that helped her out...
There are some sample scripts in the php manual and the comments in
the online documentation.
Sorry guys, i keep these snippets in one file, so i don't know who
wrote what. Don't
Hi guys,
I seem to be having a problem uploading images.
My server is running on FreeBSD and i am using PHP ver 4
I have checked all the settings in my php.ini file.
max_execution_time = 30
memory_limit = 8M
post_max_size = 8M
file_uploads = On
upload_max_filesize = 2M
I have a form that a
hai...
I have install php and i want to create email direct
but when i run my php...but i get error message
Warning: Failed to Connect in e:/learn/php/mail.php on line 24
email failed
or i need to add object mail in php
anyone help me with this...
my code like this
y one help me...?
- Original Message -
From: Ivan Balazs <[EMAIL PROTECTED]>
To: php <[EMAIL PROTECTED]>
Cc: Php Mailing List <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 6:52 PM
Subject: Re: [PHP] mail problem...
> Hi!
>
> It seems to be a php-specific pro
aled from
anywhere in the world, can charge your phone bill $24,000. Yes
twenty four thousand dollars.
this is a scam to get you to dial the number, then you contest the
bill, then they opt out of putting it on your credit report for $500 or
something similiar.
Its an extortion ripoff from the
One solution $HTTP_POST_VARS['input_field'.$inc];
- Original Message -
From: "Brian Ricks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 3:08 PM
Subject: [PHP] Iterating varibales
> I have a site which uses two pages
This works for me...
echo ' ';
- Original Message -
From: "Andrew Austin" <[EMAIL PROTECTED]>
To: "Php Lists (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 12:25 AM
Subject: [PHP] session variable name into form
I have a session var
As a matter of fact you can create dynamic comboboxes, but not with
soley PHP. Because PHP is server-side, it has no idea what the user has
selected on a form, etc. JavaScript, on the other hand, is client-side, so
it keeps track of what the user is doing.
I've done this very thin
Hello all. Does anyone know how i can set up the "from " and "Return
Address" fields in the mail functions in php?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
This "issue" has got me beaten. Have been trying for days to make some
progress identifying a problem either with my php installation, or a class I
am attempting to make use of:
The error I receive is :
Unknown list entry type in request shutdown (0) in Unknown on line 0
How
ont' work when strlen is an odd number.
Sean
-Original Message-
From: Jens Kisters [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 September 2001 2:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP] when logic fails, PHP randomly skips execution of lines
Hello everbody,
I have noticed something
Hello all,
bugs.php.net is down, and I want to know if there is a current bug in
xmltree
in the current cvs.
Anyone know?
Sean
--
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
'foo_banana' => 'default bananananana',
);
extract ($p, EXTR_PREFIX_ALL, 'foo'); // get params
extract ($foodefault, EXTR_SKIP, "foo");// get defaults
echo "$foo_fred / $foo_banana";
}
echo &quo
slow buy
a bigger
server for < $5000.
You choose.
Taken in relation to PHP. I would rather have the developers of it release
new code
that is not optimized, then have 1 release every two years, full of very
pretty blocks
of code designed to make the hardcore OOP textbook fanatic orgasm.
Ch
I think the implication of the oringal poster was not the include/requires
stuff,
but more a build of PHP with --enable-100 options vs php-sharedetc
-Original Message-
From: Maxim Maletsky (PHPBeginner.com)
[mailto:[EMAIL PROTECTED]]
Sent: Friday, 5 October 2001 11:33 AM
To
Hi,
I am trying to get a cookie to set in Internet Explorer 7, I have tried several
different setcookie() configurations, this is the latest.
Yes, I read the manual and the user notes, but can't find anything specific
about the different security levels in IE.
$szCookieName = "MyCookie";
$nID =
Oops, copy and paste error, that is the cookie I was using to delete.
The one I am using to set is acutally:
setcookie($szCookieName, $nID,
time()+$expireTime,"/","www.mysite.com",false);
2009/1/17 PHP
Hi,
I am trying to get a cookie to set in Internet Explorer 7,
for each record in table 1.
Is if faster to just read all the records from both tables into two arrays,
then use php to go through the array for table 1 and figure out what records
from table 2 are related.
Or, you dump all the data in table 1 into an array, then as you go through each
record
Hey all.
Problem:
Class test {
var $foo = 0;
function __construct() {
$this->myfunc("foo", 1);
}
function myfunc($name, $val) {
$this->$name = $val;
}
}
Now, PHP correctly evaluates $this->$name as 0; i.e. the default property
endless trial and error process, lol.
In any case, thanks for sorting me out!
-Noah
"Stut" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> PHP wrote:
>> Problem:
>>
>> Class test {
>>
>> var $foo = 0;
>>
&g
1 - 100 of 1652 matches
Mail list logo