will always show the line of the function header...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
tant
it's only atributing LN the value of __LINE__...
and in the manual I saw examples where redefining constants were used...
________
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.
t E_USER_ERROR in every call is making that
function call get huge. Isn't there a way I can't default it to that
instead of E_USER_NOTICE (which doesn't really help)...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Develop
which is the best way to connect to MS Access and process and request queries?
is it with odbc_*() functions? cuz I found that not that good...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List
iles needed to run this
application [something like that, doesn't really matter])
in Unknown on line 0"
why? why? whyy?
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
}
?>
how can I check for an existing $produtos_sem_tracking['cod'] value for
example?
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PR
t runs and when it stops it comes up with
a GPF window for PHP4TS.DLL telling me that Apache caused, so it restarts
apache.
What might be causing this? How can I fix it?
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br
--
PHP Gener
thing with CGI.
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
thing with CGI.
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
case else print error
end select
%>
IN PHP you can't do cases like that, because like in C, u must have a
constant, not a list of them.
Is there anyway to get pass this? Doing a case for each thing even tough it
does the exact same thing as 10 others is going to get a l
message either...
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
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]
$string);
so $newStrArray[0] would have exactly what I want... why doesn't strtok()
works here?
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
As I've seen and tested, Apache running in Win2k won't do output buffering
running PHP as CGI.
But will perfectly running PHP as DSO.
Any explanations?
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
P
At 11:22 23/4/2001 +1000, Jason Murray wrote:
> > Is there any PHP native function to redirect to another page or URL?
>
>No, because you can only redirect a browser to another page using the
>appropriate HTTP command (it is a header) or JavaScript.
>
> > I would like that once the user clicks on
gt;[ ] Enable Javascript
> ^
> Not ticked
>
>Oops. I just broke that redirection. :)
Yeah... I know that... but, c'mon... a browser that doesn't support
Javascript can't surf trough at least 30% of all websites... it's the
absolute minority. Netscap
At 12:22 23/4/2001 +1000, Chris Aitken wrote:
>At 11:15 PM 22/04/2001, Christian Dechery wrote:
>
>>Yeah... I know that... but, c'mon... a browser that doesn't support
>>Javascript can't surf trough at least 30% of all websites... it's the
>>abso
ery time we set a cookie. Imagine the
>fuss we'd have if we required JavaScript for something. :)
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
urfing... going from one page to another is almost a
primitive... u know where I'm getting at?
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
is an integer invovled... is automatically converted to float before
dividing, so that's why no remainder?
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
;, so it
doesn't work both ways. How does PHP works with this? I come from C where a
string and an array of char is exactly the same thing, so this kinda
confuses me.
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PH
How do I force an output to be recognized by the browser by a downloadable
text file as soon as I press the submit button?
what header(*) stuff should I add before echo-ing stuff?
thanks
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http
>Hi,
>
>
>header("Content-Type: application/octet-stream");
>header("Content-Disposition: attachment; filename=name.doc");
>include("file.doc");
>?>
>
>Wieger
>
>Christian Dechery wrote:
>>
>> How do I force an output to
I think it is... I once saw it...
thanks
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
then put the headers? In this case I'd have a file that I don't want... I'd
have to delete it later on, isn't there a way I can just redirect all the
output generated by php to a download and instruct the browser the filename
to be saved?
Where can I get some reference t
email
>address or by my
>Tel:874-762-727947,
>fax:874-762-727949.
>
>yours truly
>
>SOLOMON BALOGUN.
>
>
>
>
>
>
>________
>Do You Yahoo!?
>For regular News updates go to http://in.news.yahoo.com
&
tion:".$att." filename=".$filename);
but the problem is, the output is comming as binary... so the '\n' is not
working, instead it'comming as a one giant line with lots of weird chars
instead of '\n'... how do I force it to be in ASCII mode?
and where can I find r
At 08:39 9/5/2001 -0500, Boget, Chris wrote:
> > header("Content-type: application/download");
>
>I think you'd need to change this to:
>
>header("Content-type: text/plain");
>
>but I could be wrong...
>
> > and where can I find reference on these header stuff?
>
>Not sure. I find bits and pieces
At 07:45 9/5/2001 -0700, you wrote:
>You decided it was using binary because \n was not being converted to \r\n?
>
>Aren't you just struggling with the difference between unix and windows
>files?
>
>Perhaps if you filtered the files replacing \n to \r\n when destination is
>windows platform.
than
How do I attach a file to an email?
I'd have a mailbody also, with some text... ad I wanna attach a text file
to it, but I don't want it to be appended in the body... I want it as an
attachment.
_____
. Christian Dechery - CTO
.. WebDeveloper @ Webstyl
At 11:22 9/5/2001 -0700, Gerry wrote:
>Could you suggest a function for displaying decimal zeros.
>
>For example I have this:
>$num = "2.00";
>$num2 = "3.00";
>$result = $num + $num2;
>echo "$result";
>
>I get "5" but not "5.00"
try $result = (float)$num + (float)$num2;
--
PHP General Mailing
$mail_body";
mail("[EMAIL PROTECTED]","CDYOU Pedido:
".$num_pedido,$mail_body,$header);
}
the headers are sent perfectly... and if I echo the $mail_body (I think)
it's correct, but when I get the mail it's all screwed up...
thanks...
___
At 20:09 9/5/2001 +0200, Fredrik Rodland wrote:
>I don't think MySql does not have support for transactions. Try using
>another DB - like postgres.
yes it does... download Mysql-Max or install BDB in your mysql dist (if you
are under *ux or *ix)...
Mysql-Max is the newest Mysql dist including
At 15:17 9/5/2001 -0400, Tym Rehm wrote:
>You have to open the file and encode it.
>Check out this:
>
>/* Define the attachment and encode it base64 */
>$filename="/var/www/sf/Ftp_User_Info.doc"; $fd = fopen($filename, "r");
>$contents = fread($fd, filesize($filename));
>$encoded=chunk_split(ba
but what happens is that, the file isn't mine... it belongs to nobody... so
I have no rights to it in FTP or telnet...
is there a better solution then either of these two???
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web
is incorrect... the correct UPDATE syntax is:
UPDATE user_polls set field='value', field2='value2', field3=value3 where
id=$id;
hope it helps...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP G
won't go an mail() always returns false...
I'm guessing there's no mail sending in this server...
so what do I do?
is it possible for me to call a script on another host from with a script
and return something to it?
like
____
. Christian Dechery (lemming)
. ht
what do I do in this case??? I've tried all kinds of programing
techniques... but none of them seems to fit here.
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
At 10:35 15/5/2001 +0930, David Robley wrote:
>On Tue, 15 May 2001 09:40, Christian Dechery wrote:
> > In most of my scripts there are always headers and footers to html
> > outputs... like logos, images, and on the bottom some links and stuff
> > like that... tha
>the problem there?
the problem is, if I terminate the script on that condition the footer
won't be displayed...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
ut this in an .htaccess file: php_value
>sendmail_path '/path/to/sendmail -t'
>
>Ethan Schroeder
>
>- Original Message -
>From: "Christian Dechery" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, May 14, 2001 7:04 PM
>Subject
At 20:32 14/5/2001 -0500, Ben Gollmer wrote:
>If you have an account on a remote host, you can always do something like
>this:
>
> include("http://www.remotehost.com/~myaccount/mailfunction.inc";);
>
> mymail($to, $mailbody);
>?>
>
>where mailfunction.inc has the mymail function d
At 22:40 14/5/2001 -0700, Ethan Schroeder wrote:
>I don't know how you can find sendmail on that system if you don't have
>telnet access. Try writing a script that does an exec("which sendmail") and
>see if it tells you. I doubt it will, though. Otherwise try different
>sendmail locations: /usr
Does anyone knows any good free php/mysql hosting other than www.f2s.com??
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
At 09:27 16/5/2001 +0100, James Holloway wrote:
>Hi Christian,
>
>I have an account with f2s.com that I use for sampling scripts with - I set
>up a mailform yesterday after reading this, using mail() to send the email
>to myself. It got here - albeit 6am today (I sent it yesterday
>lunchtime)
#x27;
4 - built a function that sends mail with fsockopen (which also works, as
tested) and call it with my local smtp server... for whatever smtp I place
there it gives me timeout...
so I'm guessing there's a firewall there that blocks any access right?
why? Sending email is really th
I have a page that does a login... right after the login is successfull it
registers a session var called 'userid'... and does a header("Location:
newpage.php") which checks for the existance of this var... if it exists it
will show, otherwise it goes back to the login page...
the weird thing
php
>
>trans-sid
>/index.php
>
>header redirectect require (supposed to require) full urls. in other words
>its a good idea to put PHPSESSID=$PHPSESSID on all your full urls anyhow,
>just incase for non-cookie browsers.
>
>--
>
> Chris Lee
> [EMAIL PROTECTED]
>
>
EMAIL PROTECTED],[EMAIL PROTECTED]
>
> How would I go about this
>
>
>
>Best regards,
> Richard
>mailto:[EMAIL PROTECTED]
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAI
how do I convert and integer value to its ASCII correspondent?
in C I would go something like:
int i = 90;
char c;
c = i + '0'; // now c would be 'Z'
in PHP I'm simply clueless since there's no (char) type...
________
. Chri
What is the main difference between:
th/to/filename");
no... I want SSI calls cause this is to be changed in a pure html (with
html extension) file...
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
Can you guys give me some hints of IDEs for programming PHP in Linux?
thanks
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
n this? Is this easy to
do in PHP?
Can I get something already implemented? Some class or something?
thanks...
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://w
awesome editor, stuff like function name completion, shows you what
>params the function takes, etc.).
exactly what I'm looking for... it's not for me really... It's for a
friend... I develop in Win32... and use HomeSite... I tried this Komodo...
but never saw this SlickEdit... doe
ow about Rio, Brazil??
:))
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
rks just fine.. all the graphs show up perfectly...
but I was wondering if there is a better way of doing this... I tried with
sessions, but I couldn't get the varible to be reseted correctly between
two graphs of the same type... and they would repeat...
any ideas?
___
I want to know how many data can a session hold?
The number of bytes... and if possible the max size of an - let's say -
array of ints. I need this to know how many IDs I can hold in the session...
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. .
I want to know how many data can a session (treated as cookie) can hold...
The number of bytes... and if possible the max size of an - let's say -
array of ints. I need this to know how many IDs I can hold in the session...
_____
. Christian Dechery
. . Gaita-L
rks just fine.. all the graphs show up perfectly...
but I was wondering if there is a better way of doing this... I tried with
sessions, but I couldn't get the varible to be reseted correctly between
two graphs of the same type... and they would repeat...
any ideas?
___
soon as I refresh the page the session
is lost...
why?
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
s are not accounted for in the main
script... it always returns something like 1 or 2 seconds when it actually
took 30 or 40 seconds to finish...
any ideas?
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.c
At 19:04 28/10/01 -0500, Gary wrote:
>How do you get a SSI to work on a php page?
you don't need SSI if you're running PHP... just use include()...
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.ta
27;t even register the
session variables... meaning it could as well work the session...
And the weirdest thing is that, as I explained in my mails, if the session
gets started elsewhere, then it works beatifully even with SSI... that's
why I think this is not an expected behaviour...
what does SetCookie() returns???
I did a var_dump() on it and it gave me 'bool(true)' when in fact the
cookie was not set...
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
P
EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP Gener
reate a session, but
can use it if it is set by another page?
I don't understand...
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
Can someone explain to me why sessions don't work with SSI?
Let me explain my case:
I have a php script called miec.php, which uses sessions extensively. It's
a script to show products from a catalog randomly, and in the session it
keeps the products already shown, so it doesn't repeat... it wo
Why doesn't anyone say something about my messages "probelms with sessions
and SSI"?
Is it such a lame question???
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP Gener
At 10:33 10/11/01 -0800, you wrote:
>On Saturday 10 November 2001 08:42 am, Christian Dechery wrote:
> > Why doesn't anyone say something about my messages "probelms with sessions
> > and SSI"?
>
>This list gets 2000 - 3000 messages per month and you find it s
.s: the problem is solved, I force the user to login in case of miec.php
is SSI included, which works, since the session is created elsewhere
(login.php).
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.co
\ / September 11, 2001
> X We Are All New Yorkers
> / \ rm -rf /bin/laden
>
>On Mon, 12 Nov 2001, Christian Dechery wrote:
>
> > I've recently had a problem with sessions,
I don't know what it is... but PHP is acting very weird today... or I am
becoming crazy... can anyone tell me which one?
I have this function:
function Upload($source_file,$source_filename,$dest_dir,$allowed_types=array())
{
global $upload_errmsg;
if( count($allowed_types) )
{
$file_ext=Arqu
you're hitting this function twice by accident. Are you
>sure you're only calling it once? That would explain why you only get one
>output with the die(), but two without it.
>
>-Steve
>
>On Wednesday, November 14, 2001, at 10:34 AM, Christian Dechery wrote:
>
>
)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanam
d HTML mail, you can set the Content-type header. */
> >
> > /* additional headers */
> > $headers = "From: Someone <[EMAIL PROTECTED]>\r\n";
> >
> >
> > /* and now mail it */
> > mail($to, $subject, $message, $headers);
> >
> >
\ / September 11, 2001
> X We Are All New Yorkers
> / \ rm -rf /bin/laden
>
>On Mon, 12 Nov 2001, Christian Dechery wrote:
>
> > I've recently had a problem with sessions, and came
/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]
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. .
top of the page - before all the other code. But since $done
>is set far down in the code, after my form and db-statements, the header
>will never know when to be sent.
>
>Is there a way of calling a headerfunction in the top of the page?
>
>- Daniel
>
> > -Original Messa
I'm trying to build serializeAll() and unserializeAll() type functions...
but how can I tell from $HTTP_SESSION_VARS which of those vars are
serialized objects so I can unserialize them?
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. .
this work?
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
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 adminis
hat nice codewise...
any hints?
_________
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Can't I
or
or
???
I'm trying to, the script works fine if I load it normally, but as an include
in a shtml (server parsed) file it always returns "error ocurred bla bla
bla".
What am I doing wrong?
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmas
nks to .php in files like this that processess nothing only run a few
"includes" (all built in C)...
but I'd like to be able now to run PHP made stuff... can't I?
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanames
a DSO module or CGI for me to
use SSI??
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact th
l files as php files, but that
>causes the SSI and/or the PHP parser not to run.
so... what you're saying is that I can't have a PHP file <#--include-->'ed
in a regular server parsed html file? it doesn't work?
I can have included C and Perl stuff but not PHP?
W
ing... I'd rather work something out in
Perl or C...
________
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
5th... all of them work,why not this one?
____
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
T
Correct me if I'm completely out of my mind here (often I am).
But I think, I read somewhere that u can compile .php files and make
executables of them to run in the command line like programs... is this
true? How can I get it to work? WHat do I need?
____
. Chri
ath\to\php-script.php and it
>will run on the command line...or just give the full path to the php.exe
>file...
>
>C:\php\bin\php.exe C:\path\to\php-script.php
oh okay... I was thinking more of a standalone file like php-script.exe...
but that should work as well...
Thanks!
_______
I get a good 'memory cleaning' so I can
be sure everything is going to get carried out??... there are steps that
I'm worried about taking over 30min to finish, like loading the main table
with 140.000 rows...
thanks...
. Christian Dechery (lemming)
. http:
"whatever"
);
I want to, given the key (or value), it returns me the numeric index for
that ocurrence... examples:
given "one" -> returns 0
given "whatever" -> returns 2
given "two" -> returns 1
given "four" -> returns NU
tion per file, more then 20 overall)...
________
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
Regarding my last email (about jumping the first 7 rows of an array)...
why does this code doesnt work?
for(reset($array),$count=0;$count<6;next($array),$count++);
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
ements)
it would work fine... I'll try...
but thanks anyway... :)
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
ly worked... thanks for the hint:
function array_sshift(&$array,$number_of_elements=1)
{
for($count=0;$count<$number_of_elements;$count++)
{
array_shift($array);
}
}
______
By doing this:
is PHP using the same amount of memory as this:
because it seems to me, that the script gets a little slower when I
introduce the function method.
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web
How do I store (and update) an array within a session...
Like I'd have
cuz I'll have more pages...
$time["page20"]="300";
is this going to automatically load into the session vars or I have to do
something first?
________
. Chri
times for each step (step_times) and the total running time
(already working)...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Why I can get this to work?
I don't understand... I made another simple script that the only thing it
did was the "build array/serialize it/register the session var/ => next
page load unserialize it into array/update array/serialize it again".. and
it worked like a charm...
I'm doing the exact
which is not really an error, and the query is executed... but returns
false... I don't consider this to be a bug... but there's certainly
something wrong about error handling in mssql_db_functions*()...
____
. Christian Dechery (lemming)
. http://www.tanamesa.com
1 - 100 of 196 matches
Mail list logo