On Fri, Dec 12, 2003 at 07:54:16PM -0800, Manuel Ochoa wrote:
:
: Why is this test failing?
:
: $data = "A Simple test.";
: If (ereg("^[a-zA-Z0-9\s.\-_']+$", $data)) {
: echo "Valid text";
: }
: else {
: echo "Not valid text";
: }
You can't use the character class "\s" within a range. And
On Mon, Dec 15, 2003 at 12:05:54PM -0800, Naveen Glore wrote:
:
: I have freebsd server with apache, PHP and mysql. i wrote a simple PHP
: program using mail(). The mail() function returns true without any
: error. but the problem is the email is never delivered. I viewed the
: log file for mail(/
On Mon, Dec 15, 2003 at 12:58:17PM -0800, Naveen Glore wrote:
:
: thanks for the quick response. I have the same permissions as yours.
: My email server is working fine, i use sendmail MTA and outlook MUA. I
: am able to send emails and view my received emails in outlook through
: my server. But I
On Tue, Dec 16, 2003 at 11:13:25AM +, Scott McDaid wrote:
:
: Hi there. I've been looking at the behaviour of the round functionality in
: PHP. We're currently still using v4.2.3, (but the documentation seems to
: suggest it's the same for versions after this).
:
: Doing the following round
On Tue, Dec 16, 2003 at 01:30:14PM +0100, Kim Steinhaug wrote:
:
: I found out that what the script accually does is choke on "\n\n",
: empty lines. I havnt found a way to solve this with the script,
:
: What I do now is use TextPad and just replace all occurencies
: of "\n\n" with "\n-\n" or som
On Thu, Dec 18, 2003 at 01:39:57PM +1100, Eric Holmstrom wrote:
>
> What im trying to do is read the information from a field in a table called
> PARTNO. Then add RU to the front of whatever is in the PARTNO field.
>
> So far i have this.
>
> //connect details rarara
> //query
> $query= "SELECT
On Thu, Dec 18, 2003 at 12:24:21PM +, Mat Harris wrote:
:
: I am building a web interface to the vacation autoresponder program
: on linux.
:
: I let users login, edit their message and enable the autoresponder.
:
: The last step (enabling) is where the fun begins because php is run
: a
On Thu, Dec 18, 2003 at 12:52:14PM +, Mat Harris wrote:
: On Thu, Dec 18, 2003 at 06:42:37 -0600, Eugene Lee wrote:
: > On Thu, Dec 18, 2003 at 12:24:21PM +, Mat Harris wrote:
: > :
: > : I am building a web interface to the vacation autoresponder program
: > : on linux.
: &
on Apache on my intranet and IIS after being uploaded to a web
server. The browser is set to recieve cookies. All the books say it should
work.
Has anybody any ideas? I've wasted a whole day on this joker!
Ken Lee.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Dec 21, 2003 at 03:57:24PM -0300, Fernando M. Maresca wrote:
:
: Well, i'm trying to avoid access to the site for the middle. Say there
: is a initial page with a form and other pages that depends on this. Is
: there a way to force users access the site thru the initial form page,
: regard
On Sun, Dec 21, 2003 at 04:11:36PM -0300, Fernando M. Maresca wrote:
: On Sun, Dec 21, 2003 at 01:03:43PM -0600, Eugene Lee wrote:
: > On Sun, Dec 21, 2003 at 03:57:24PM -0300, Fernando M. Maresca wrote:
: > :
: > : Well, i'm trying to avoid access to the site for the middle. Say
:
On Mon, Dec 22, 2003 at 01:09:37AM +0100, Andreas Magnusson wrote:
:
: You can use the Referer header found in $_SERVER['HTTP_REFERER'] to check
: from which page the user comes from.
Unfortunately, HTTP_REFERER is not guaranteed to exist. In fact,
several Windoze firewall software actively bloc
On Fri, Jan 02, 2004 at 01:20:50PM -0800, Chris wrote:
: Jason Williard asked:
: >
: > Is there a way to make a variable of a function optional?
:
: http://www.php.net/functions
More specifically:
http://www.php.net/manual/en/functions.arguments.php
e.g.
function puke ($stuff
Hi,
Is it possible to set PHP flag at Apache ver 1.3.x per directory?
e.g.
DocumentRoot /home/www/apps/htdocs
ServerName localhost
php_flag register_globals on
I tried but fail to turn on Register Globals settings (Default is
off). Any Hints?
Regards,
Chris Lee
--
PHP General Mailing
>You need to use:
>
> php_value register_globals 1
I tried, but still fail, phpinfo still show
register_globals OffOff
Regards,
Chris Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear Umesh,
I already restart Apache, but it didn't work.
OT question:
Do Apache's Directory Directive, use relative path or absolute path
for matching?
Beside, I am using PHP Version 4.2.3
Regards,
Chris Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
\n";
}
function returnfunction()
{
return "showfunction\n";
}
showfunction();
echo returnfunction();
?>
Chris Lee
Mediawaveonline.com
"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote in message
Pine.GSO.4.10.10101101404540.1072-10@juno"
everyone allready posted about foreach(), but they didnt post the
alternative syntax
foreach ($array as $position => $value)
{
echo $postition : $value\n";
}
http://www.php.net/manual/control-structures.foreach.php
Chris Lee
Mediawaveonline.com
""Moritz Petersen&q
reave X number of fields and peice the data together
again...
Chris Lee
Mediawaveonline.com
""Paul Lewis"" <[EMAIL PROTECTED]> wrote in message
007d01c07b0a$abfda4b0$[EMAIL PROTECTED]">news:007d01c07b0a$abfda4b0$[EMAIL PROTECTED]...
> I have an application t
. also with multiple users single
passwd systems, who decided to change the passwd? your opening up the door
to piss people off, some jerk decideds hes going to change the passwd and
not tell anyone. real nice. haha
Chris Lee
Mediawaveonline.com
""A.D. Vijverberg"" <[EMA
ont know if you need to use an IP at all, if this is just for a cart...
then big deal, some script kiddy could try 36^32 possible combinations of a
PHPSESSID to try and hijack their cart ! haha. maybe for a something a
little more secure.
Chris Lee
Mediawaveonline.com
"Brandon Orther&qu
use exec() and unix's command 'file'
exec("file $filename");
and admire the output :)
http://www.php.net/manual/function.exec.php
Chris Lee
Mediawaveonline.com
"Nikolai Vladychevski" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">n
make sure of course too that session_start() is called from in your code
too. else your not using sessions :)
Chris Lee
Mediawaveonline.com
""Boget, Chris"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I know that
, use whats
easier to read. IMHO the last example is the hardest to read.
please please everyone post your own results wether you wan tto back me or
slash me.
[lee@server lee]$ time php -q test_1.php > /dev/null
23.82user 0.07system 0:25.76elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
0inp
to C linker issues (extern "C" { ), will the STL cause memory
problems? Is this the right forum for this kind of question? Thanks!
--
Jason Lee| Get her boy and let yourself surrender. Run
alone with
Programmer/Analyst | her and never fall. She is wisdom and the most
www.
x27;];
I dont quite know what to say more, thats a strange one you got there :)
Chris Lee
Mediawaveonline.com
""Jon Rosenberg"" <[EMAIL PROTECTED]> wrote in message
001301c07c26$5609d3e0$75e2d2cc@slinkyboi5">news:001301c07c26$5609d3e0$75e2d2cc@slinkyboi5...
rom phorum
: ()
:
//
\n";
echo "$lDate: $datestamp\n";
?>
I find the later easier to read, and modify, IMHO I cant see why it would be
easier. Maybe just programming style, everyone to they're own.
Chris Lee
Mediawaveonline.com
"Jason Murray
just add this somewhere near the top.
$filezip_name = ereg_replace(' ', '_', $filezip_name);
Chris Lee
Mediawaveonline.com
""David Smith"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> With
It works, it works in
lynx,
netscape 4.76
netscape 6
mozilla 0.7
IE 5.5
opera 5.01
amaya 4.2.1
now I havent used any mac browsers but if it works for all those I assume it
will for Mac browsers eh.
Chris Lee
Mediawaveonline.com
"Alex Black" <[EMAIL PROTECTED]> wrote i
Its also very handy when you get an error like that to check you log files,
usually when you get no error and no page like that, php has segfaulted
apache, might want to check :) there might be other errors in the log files
to help you too.
Chris Lee
Mediawaveonline.com
"Jared H
Chris Lee
Mediawaveonline.com
"Brandon Orther" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello Everybody,
>
> I want to take a number and echo it with only 2 numbers after the decimal
> point. I can't remembe
better suited.
Chris Lee
Mediawaveonline.com
"Mike Yuen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am trying to allow various users to upload their own picture. What I
> would like to happen is to have the copy statement
other php developers store their passwd's
-plain text in db
-use of unix password()
-use of db password()
-other ?
Chris Lee
Mediawaveonline.com
""Jason Jacobs"" <[EMAIL PROTECTED]> wrote in message
011501c07f3f$c415bcc0$5800a8c0@doc">news:011501c07f3f$c415bcc
sites do though. many sites allow me to click some link and they email me my
passwd in case Ive forgoten it. ICQ.com even does this.
Chris Lee
Mediawaveonline.com
""Josh G"" <[EMAIL PROTECTED]> wrote in message
00e401c07f60$f325c2a0$0e01a8c0@swinger">news:00e4
why go for anything but the newest ? is this production ? if so stick to
non-beta probably.
Chris Lee
Mediawaveonline.com
"Francesc Lladó" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have to install in a computer with RedHa
well your code snipit allready shows your answer.
$result = mysql_db_query($DBName, "SELECT * FROM basket WHERE
UserID='$UID'");
while ($row = mysql_fetch_array($result))
{
$CID = $row[0];
$DMN = $row[1];
$DMB = $row[2];
$BID = $row[4];
echo "Pri
paper and you will begin to see it all
clearer then outlook express allows me to :)
Ive seen tutorials around, ie phpbuilder.com, I found them confusing, hehe,
good luck !
Chris Lee
Mediawaveonline.com
"Wee Chua" <[EMAIL PROTECTED]> wrote in message
0F9D3D919AADD211BE7E00A0C
- php ?
Chris Lee
Mediawaveonline.com
"Brandon Orther" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello Everybody,
>
> I have seen a lot of people ask for XML support for PHP. I was wondering
> what it does
explode(' ', $mtime);
$mtime = $mtime[1] . $mtime[0];
return($mtime);
}
Chris Lee
Mediawaveonline.com
"Angela" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I see that you got a lot of responses, but I didn't see anyo
I use ultraedit 8.0 this editor rocks :)
on a side note as someone else posted, 'everyone to their own' it dont
matter what editor you love as long as the work gets done.
Chris Lee
Mediawaveonline.com
""Murph"" <[EMAIL PROTECTED]> wrote in message
003201c08
Im nearly posative this isnt what your looking for, but I thought I would
see if maybe it was :)
compile php as a cgi so you can run it from the command prompt. then just
run the php file from the command prompt through exec ()
untested of course.
Chris Lee
Mediawaveonline.com
"
p headers"
can you compile/download php for windows as a cgi ? that would solve your
problem eh.
Chris Lee
Mediawaveonline.com
"Alaiddin Tayeh" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am using write.exe in the wind
Try this, I know Ive botched your origonal code...
somepage.php
\n";
}
?>
someotherpage.php
$val)
{
echo "\n";
}
while(...)
{
...
echo "\n";
}
?>
email me if you have more questions.
Chris Lee
Mediawaveonline.com
""Wade Hals
No if memory serves me correctly php by default saves the session files in
its own format, but you can tell php to save sessions in XML (wddx? am I way
off) Ive never used XML, WDDX, or tried doing anything directly with the
sessions files
Chris Lee
"Eivind Trondsen" <[EM
like
this, I think XML is more strict.
Chris Lee
Mediawaveonline.com
""Butler, Shaun"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I am using php 4.02 and Apache 1.3.12 and am trying to do some XML
parsing.
> H
There is nothing easier then by going to
news://news.php.net
I never until php had any use for news groups, they were for perverts with
to much bandwidth, haha. now I use my news reader all the time :)
Chris Lee
Mediawaveonline.com
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]
alot of people inside on escaping your double quotes, I dont, I use single
quotes, its nicer to read.
echo "\n";
echo "\n";
I find the prior easier to read. they both work 100% no quibles.
Chris Lee
Mediawaveonline.com
""Karl J. Stubsjoen"" <[EMAI
Array
(
[0] => 501
)
array_insersect() only seems to work with small numbers... or small text.
Chris Lee
Mediawaveonline.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
ok, Ive got my code to work, but its a big jerry-rig haha. because I am
using mtime() (the last two chars are allways 00) I substr the last two
chars off, array_insersect() them, then add 00 the the end of all the values
in the result array. dumb eh.
Chris Lee
Mediawaveonline.com
"Chri
t; $val)
echo $val;
with the second example you can add another element to $test->s and the loop
will auto adjust for this.
but both methods work.
Chris Lee
Mediawaveonline.com
Joe Stump <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
quot;;
but this works too...
$query = "SELECT * FROM clients WHERE CID = '$CID' AND CUserName =
'$CUserName' ";
if ($CAge)
$query .= " AND CAge = '$CAge'";
if ($CEducation)
$query .= " AND CEducation = '$CEducation'";
t
$GLOBALS[] should have all varibales right ? maybe someone could correct me.
$val)
{
echo "$pos : $val\n";
}
?>
Chris Lee
Mediawaveonline.com
"Romulo Roberto Pereira" <[EMAIL PROTECTED]> wrote in message
001101c082eb$6536f5c0$[EMAIL PROTECTED
okie var that a user cant whip up a simple html POST page in about 10sec.
Chris Lee
Mediawaveonline.com
"Dale Robinson" <[EMAIL PROTECTED]> wrote in message
000d01c083e1$54610aa0$0201a8c0@celery">news:000d01c083e1$54610aa0$0201a8c0@celery...
> Everyone seems to recommen
If your refering to old Pascal pre-3.0 in how you could only have X number
of bytes in a file (32k I think) then pascal would not parse the rest, then
no php isnt limited to this, your pages will just get slower and slower
because of more hits.
Chris Lee
Mediawaveonline.com
"Mike
that.
PHP on a windows box can use windows DOM, if outlook express was on the
server then you might be able to use this too, I cant say for sure. All I
can say for sure is that php is serverside, so if ou want php todo anything
but serverside your looking in the wrong spot.
Chris Lee
Mediawaveonlin
is access that data/function.
Im not quite sure what you mean when you say "generic-> becomes something
twice" as far as I can see, nothing is becoming nothing.
Chris Lee
Mediawaveonline.com
""Karl J. Stubsjoen"" <[EMAIL PROTECTED]> wrote in message
0
compile with --enable-trans-sid
works great for me :)
Chris Lee
Mediawaveonline.com
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi..
>
> i use the session-functions with php4 and everything works fine.
> but if a visitor
\n";
echo "$PHP_SELF \n";
?>
Try that. or am missunerstanding the question?
Chris Lee
Mediawaveonline.com
""Marx Gomes"" <[EMAIL PROTECTED]> wrote in message
012601c087d8$2ef57da0$[EMAIL PROTECTED]">news:012601c087d8$2ef57da0$[E
havent tested this but im almost sure that netscape waits until the entire
page is downloaded until being displayed IF there are tables on the page.
write a small test script to see if Im right.
--
Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED]
""Spallek, Heiko"&quo
4%2 = 0
4 div 2 equals remainder 0
2 div 4 doesnt divide so your left with the remainder equal to what you
started with, 2
--
Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED]
""Mike P"" <[EMAIL PROTECTED]> wrote in message
94qjq0$rde$[EMAIL PROTECTED]"&g
less overhead then
mysql_db overhead.
--
Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED]
"Noel Akins" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Would there be any point in using php sessions if you aren't using
co
"when you first run it wants to save the file as makeins.phtml " what wants
to save the file? IE ? your editor ? sounds like a browser issue, the
browser has assoiated .ins as something else in the mime-types. Msg back so
I could possibly help more.
--
Chris Lee
Mediawaveonli
I use this to allow a user to download a pdf, most browser want to view it
in the browser, I wanted them to be able to save the file, not view / run
it. Is this what your looking for ?
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
can you post a small code snippit ?
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""Denis L. Menezes"" <[EMAIL PROTECTED]> wrote in message
970kab$e9j$[EMAIL PROTECTED]">news:970kab$e9j$[EMAIL PR
edit the file with php or an editor like ultraedit? in ultraedit hit Ctrl-H
in php its no different then it would be opening an ascii file. no
different, just make sure to use fwrite()
http://www.php.net/manual/en/function.fwrite.php
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED
your using an html for to upload the files ? this is strange, I use an html
form to upload binary images, all is well so its strange its mangeling your
ascii db file. how does the file look when it gets to the server? try saving
it somewhere, compare it to the origonal.
--
Chris Lee
or...
that forces the comparison to be compared as a string. this only has to be
done sometimes, usually php is quite good at determining what you want.
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
"Jason Murray&quo
look at
http://www.php.net/manual/en/function.error-log.php
you can tell php to send an error msg to the systems default logger (ie.
syslog)
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""Zenith"" <[EMA
$PHP_SELF
echo $PHP_SELF;
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""Dan Watt"" <[EMAIL PROTECTED]> wrote in message
970j62$6j0$[EMAIL PROTECTED]">news:970j62$6j0$[EMAIL PROTECTED]...
echo $val;
}
...
?>
arrays are great things, use them lost :) haha
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
"Don" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].
when your uploading a file
php will create three variables,
$db_file
$db_file_name
$db_file_type
$db_file_type should have the mime/type. now should does NOT mean will. some
browsers (I dont have a list) will not send the correct type at all.
you can use linux's file command
[lee@s
dspimage.inc
index.php
";
?>
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""Boget, Chris"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
&g
start) / 10;
echo number_format($time, 4) .' '. $text ."\n";
$this->start = $this->break;
}
}
$debug = new debug;
?>
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""Matt"" &
no problem :)
Header("Content-Type: {$prod_r["file_type"]} ");
Header("Content-Disposition: filename='{$prod_r["file_name"]}' ");
echo $prod_r["file"];
this code works perfect for me, just modify the variables to meet
eta tags.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have been using the code below to
er all the
data. you could use sessions, but this is not what your looking for.
sessions are for remebering *one* persons info, not many people's, and not
for long term, short term.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
&q
.net's sujestion os using SID ie.
echo "index";
SID is only set if the a cookie is NOT set. oi. thank god $PHPSESSID is
allways set :)
another note too though is try and limit the amount of header re-redirects
you use, search engines will not index pages that follow header redirects.
change
$row[count]
to
$row['count']
it thinks the work [count] is some kind of conastant, it doesnt know you
mean (string) 'count'
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Navid Yar&
Im running php 4.0.4pl1
Fatal error: Call to undefined function: chunk_split() in
/home/httpd/vhosts/myhearingstore/mail.egn on line 33
is there a configure option im supposed to compile in ?
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
check if your session variable is set.
ie, lets say your session variable is called SessionID
\n";
}
?>
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Michael Zornek" <[EMAIL PROTECT
_NAME/index.php?$SID");
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Jon Rosenberg"" <[EMAIL PROTECTED]> wrote in message
001301c09dc9$fc471c80$[EMAIL PROTECTED]">news:001301c09dc9$fc471c
ok, works now, strange stuff, cut and paste from opera and you'll get
problems like this, strange strange
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Chris Lee"" <[EMAIL PROTECTED]> wro
t-Type: multipart/alternative;
boundary='HTML3a96f889828b4'
This is a multi-part message in MIME format.
Status:
--HTML3a96f889828b4
Content-Type: text/plain;
charset='ISO-8859-1'
Content-Transfer-Encoding: ISO-8859-1
Hello test how are you today?--HTML3a96f889828b4
Content
you have to set to path and the domain name too...
setcookie('vote', '1', $time, '/', '.someite.com');
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Nuno Costa""
s this server prone to alot of ups and downs ? might want to stay away from
mysql_pconnect().
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Markus H. Maussner"" <[EMAIL PROTECTED]> wrote in message
[E
looks like it might. I do a simple isset() to see if it is set.
works for me.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"John LYC" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EM
\n";
echo "You can only press submit once \n";
exit();
} else
{
echo "b \n";
$done = $PHP_SELF;
session_register('done');
}
// do some code
echo "
";
?>
try this, this allows you to load the page, p
you have a url or code sample to look at ? have you run it through html tidy
?
http://www.w3.org/People/Raggett/tidy/
also included in ultraedit 8.0a
http://www.ultraedit.com/
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED
$val)
echo "{$but[$pos]} ";
?>
or better.
http://slashdot.org';
$link['adcritic'] = 'http://www.adcritic.com';
$link['php.net'] = 'http://www.php.net';
foreach($link as $pos => $val)
echo "$pos ";
?>
--
isplay 1 untill you
start clicking on the link. this is because PHPSESSID is now set.
in a long way Im trying to say that what your experisnceing is normal
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""kaab kaoutar"&quo
you will find some browsers dont work like they should, opera doesnt seem to
like my uploads.
";
?>
works or me, email me your comments if this is or isnt working for you
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
0x0A.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Jon A" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I need some help...
>
> I try to do a ftp connection with ph
try this, works for me.
everywhere I read they say Im supposed to use application/octlet-stream but
it doesnt allways seem to work in some browsers.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Chris"&quo
consants must be scalar, they can not be references.
http://php.net/manual/en/function.define.php
what your looking for is this.
this is invalid syntax though, I dont know how to answer your question though, sorry
:(
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
}Latest news blah blah \n";
you can also accompish this nicer with a foreach loop
foreach($headline as $pos => $val)
echo "{$headline[$pos]}Latest news blah
blah \n";
more info at
http://php.net/manual/en/control-structures.foreach.php
email me with more questions
not create that index. and you will get an undefined index
error.
mysql> alter table TABLE_NAME change VAR_NAME VAR_NAME varchar(255) NOT NULL ;
please email me if you have more questions or comments, I am interested in knowing how
this works for you
--
Chris Lee
Mediawaveonl
not be server side, vs client side? as you mentioned, modify php.ini to change your
limit. does anyone know another use for this ?
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Dhaval Desai" <[EM
sume
its rudamentry. the code you are missing is how your accually calling your function
View Contents Of Cart
is a url, you forgot to include the src of cart.php to see where you are accually
calling the function.
cart.php
please email me if you have more questions or comments.
sounds like a db prodblem, vs php. could be wrong. check your config file. for the max
users.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
[EMAIL
f in /home/httpd/vhosts/somesite/somefile.php
have fun.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"Wen Ni Leong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">
301 - 400 of 890 matches
Mail list logo