Hi all,
I wish to fine the most occurringest value in an array. eg:
$arr = array('dog', 'cat', 'dog', 'zebra', 'cat', 'dog', 'dog', 'dog');
if I use array_count_values it gives "dog => 5"
I would like to get 'dog' and '5' into a $variable.
Kind regards
Kevin
--
__
I only found the actionscript for click button to load the varialbes. but If
I want to load variable when the moive start?
on (release) {
gotoAndPlay(2);
Status = "Beginning Login Process.. Please Hold";
loadVariablesNum ("Login.php?Name="+Name, "0");
}
--
Sincerely your;
pei_world (
> he wants 3 radio buttons on a form .. something to the affect of:
> this is a general post
> this is an urgent post
> this is a message i need to post because it bothers me
>
> would this be the right setup for radio buttons and if so what is
> the best way to tell what one of them is checked wit
Hi all,
I am in the process of building a CMS and need to know how to rename an
uploaded template.
I can upload the page fine (ie. Template.php) but then I want to be able
to save the file as a user specified name after the upload is done.
Either that or copy the template from the server and save
Greetings,
According to PHP manual example this is supposed to open a file and
write a line of text to itbut it doesn`t.
===
File Open
But my text file
On Monday 24 February 2003 15:09, John Taylor-Johnston wrote:
> $_SERVER is outdated now isn't it?
Read the docs please. This is one of the new 'super globals' and deprecates
$HTTP_SERVER_VARS (or whatever it was called).
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Sof
Hi Chris,
The mode rw is contradictory. You say open the file in the read-only and
write-only modes. I think you the append mode(a) is the candidate to solve
your problem.
Ferhat Can
- Original Message -
From: "Chris Blake" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PRO
>In a message dated 2/24/2003 12:05:09 AM Pacific Standard Time,
>[EMAIL PROTECTED] writes:
>
>I wish to fine the most occurringest value in an array. eg:
>
>$arr = array('dog', 'cat', 'dog', 'zebra', 'cat', 'dog', 'dog', 'dog');
>
>if I use array_count_values it gives "dog => 5"
>I would like to
At 05:52 24.02.2003, Mr Percival said:
[snip]
>According to the PHP manual session_start always returns true.
>
>Ther are times (like when there is a disk full error on the server) that the
>sesison_start will fail because its unable to write the session tmp
On Monday 24 February 2003 16:39, Steve Jackson wrote:
> I am in the process of building a CMS and need to know how to rename an
> uploaded template.
> I can upload the page fine (ie. Template.php) but then I want to be able
> to save the file as a user specified name after the upload is done.
> E
On Monday 24 February 2003 16:12, Kevin Waterson wrote:
> I wish to fine the most occurringest value in an array. eg:
>
> $arr = array('dog', 'cat', 'dog', 'zebra', 'cat', 'dog', 'dog', 'dog');
>
> if I use array_count_values it gives "dog => 5"
> I would like to get 'dog' and '5' into a $variable
At 10:20 24.02.2003, you said:
[snip]
>Sex is like air. It's only a big deal if you can't get any.
[snip]
:)) This is one I like...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.v
Hi, here's the script
*
";
$connection = mysql_connect($host, $user, $pass) or die ("Erro de execução.
Informe-nos sobre a situação!");
mysql_select_db($db) or die ("Erro de execução. Informe-nos sobre a
situação!");
$queryaviao="SELECT * FROM ssr ORDER BY avia
did you set up the correct email address and smtp server in you php.ini
configu file?
First try to send mails without bells and whistels, and when you can do
that fine, then go on and implement that formular feature.
>
>
>
>
> HEY PAL i been tri that but its send it to me this
>
> this is the so
At 10:37 24.02.2003, Miguel Brás said:
[snip]
>//logical request
>if ($nome) {
>$sql="aviao = '$nome' ";
>}
>if ($code) {
>$sql="code = '$code' ";
>}
>$query = "SELECT * FROM ssr WHERE";
>$query .= $sql;
[snip]-
hy,
i have a probleme with cookie.
this is my code "Setcookie($n_sessid, $sessid, time()+$cookie_life);"
and work, 80%.
some machines (all windows - 98 and XP) with internet explorer
(ver.5 and 6, some with the last upgrade) can write the cookie. same
machines have
cookie enable because the users
OK,
Thanks that helped. I've sorted that part of the problem.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]
> Sent: 24. helmikuuta 2003 11:20
> To:
> hy,
> i have a probleme with cookie.
> this is my code "Setcookie($n_sessid, $sessid,
> time()+$cookie_life);" and work, 80%.
> some machines (all windows - 98 and XP) with internet explorer
> (ver.5 and 6, some with the last upgrade) can write the cookie.
> same machines have
> cookie enable bec
Hi,
yes in fact it worked...I also had the $numrows with wrong mysql command, it
should be mysql_num_rows() instead of the mysql_fetch_rows().
Thx Ernest
But now that this is working, i have another big problem...my
$drop_down_list isn't assuming the value of the shown option...right here on
the
What "path" and what "domain"?
Thanks.
Kale
-Original Message-
From: Gonzo [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 12:04 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] cookie problemes
> hy,
> i have a probleme with cookie.
> this is my code "Setco
> What "path" and what "domain"?
See "path" and "domain" here:
http://php.net/setcookie
Gonzo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi guys we have 2 very high traffic sites and we need to be able to make
these pages load faster , we are coming up with a solution to make flat file
versions of the sites in the short term before we start using caching
technologhies is this the right way to go about this ? also whats is the
best w
> hi guys we have 2 very high traffic sites and we need
> to be able to make these pages load faster , we are
> coming up with a solution to make flat file versions of
> the sites in the short term before we start using
> caching technologhies is this the right way to go about
> this ?
I think any
At 02:04 24/02/03, you wrote:
Hi,
yes in fact it worked...I also had the $numrows with wrong mysql command, it
should be mysql_num_rows() instead of the mysql_fetch_rows().
Thx Ernest
But now that this is working, i have another big problem...my
$drop_down_list isn't assuming the value of the show
Hi!
...and then Fat Lizard said...
%
% Hi,
% I'm trying to use move_uploaded_file, but so far with no success, no matter
% what I try.
Do you have register_globals turned on?
Did you really use "" in your form code?
Are you sure that $userfile has a value? What is it?
What if you turn things
i dont understand what you mean , anyway, this is a short term situation as
the site is pretty slow and cpu intensive, the setup is a sun solaris box
running apache 1.3 and php3 , just had a meeting today to push through apahe
2 and php 4.3 ut wont happen for a while , we need a solution in the ne
:( don't work.
I put "Setcookie($n_sessid, $sessid, time()+$cookie_life, $path,
$domain, 0);"
In script but don't work. Same. No cookie in cookie folder.
Other idea?
Kale
-Original Message-
From: Gonzo [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 12:13 PM
To: [EMAIL PROTECT
> :( don't work.
> I put "Setcookie($n_sessid, $sessid,
> time()+$cookie_life, $path,
> $domain, 0);"
> In script but don't work. Same. No cookie in cookie
> folder.
> Other idea?
Nothing other than 1) What are in the $path and $domain
variables? and 2) did you grep in your cookies folder?
Someti
$path = "/";
$domain = ".mydomain.ro";
And in my cookie folder i find a cookie named: [EMAIL PROTECTED]
But other computer (with problems) i don't have any cookie with same
name.
And if i reload the page and print $HTTP_COOKIE_VARS[$n_sessid]
it's nothing. I have 12 computers and 10 are ok.
kale
Hi, please see the following red code... it adds info to a MySQL Table called
"Schools". Whats the problem? Although the first time you execute it, it works, after
the first time you send the form you get ERROR.
$qs = 'INSERT INTO Schools (LongName, Abbreviation) VALUES (' .
"'" . add
Are all the news stories in a database?
If so we are current in devolopment of a simaliar site (although not news),
we are using Perl scripts to build all the HTML pages (both Index's and
Pages) during the evening (4am), it takes about 8 secs to build 2500 pages
and the Perl scripts could be a lot
"Electroteque" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> i dont understand what you mean , anyway, this is a short term situation
as
> the site is pretty slow and cpu intensive, the setup is a sun solaris box
> running apache 1.3 and php3 , just had a meeting today to push thro
I'd like to know how to use the pfsockopen() method correctly. I'm
experimenting with creating a webbased IM client. I was hoping I could
resume a socket from script to script (by using POST or GET or a Session).
This is not working. In the documentation I found that php looks if a
connection to th
At 03:48 24/02/03, you wrote:
Hi, please see the following red code...
(i get plain text, so not red)
it adds info to a MySQL Table called "Schools". Whats the problem?
Although the first time you execute it, it works, after the first time you
send the form you get ERROR.
$qs = 'INSERT INTO
So how do I check if the session write failed?
I thought perhaps
if(session_id() == ""){
echo "error";
}
but if all session_start does is basically assign a session ID then
session_id will never be empty even when the write fails.
Thanks! :)
--
PHP General Mailing List (http://www.php.
The easiest way to do this is putting variables behind ? in the
filename:
myFlashMovie.swf?myVarA=123&myVarB=456
The variable above will be assign in the _root in the Flash file:
_root.myVarA & _root.myVarA
Regards,
Sumarlidi E. Dadason
SED:DESIGN
_
I found info on php.net about how to set content type for a file & then
cause it to be a downloaded file. So far it's been working for showing
everything until I tried having it display a jpeg. Here's the code I have -
header("Content-type: ".$atype);
readfile(include($afile));
The only problem
At 13:36 24.02.2003, Mr Percival said:
[snip]
>So how do I check if the session write failed?
>
>I thought perhaps
>
>if(session_id() == ""){
> echo "error";
>}
>
>but if all session_start does is basically assign a session ID then
>session_id will nev
At 13:45 24.02.2003, Patrick Teague said:
[snip]
>readfile(include($afile));
[snip]
You don't need to include the file you're going to read... simply give
readfile($file)
and you'll be set.
include() tries to _ex
Show us code. The error refers to line 87. We need to see that, and other code
surrounding 87.
- Original Message -
From: "Patrick Teague" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 6:45 AM
Subject: [PHP] Problem with readfile on jpegs
I found info on p
Hi!
Is it possible to create a chat screen that updates screen in some kind
of loop from the database?
So if someone sends a message to database it immediately shows on chat
screen?
Kind regards,
Sami
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Sure, in JAVA.
> Hi!
>
> Is it possible to create a chat screen that updates screen in some kind
> of loop from the database?
>
> So if someone sends a message to database it immediately shows on chat
> screen?
>
> Kind regards,
> Sami
>
>
> --
> PHP General Mailing List (http://www.php.ne
Let me guess, your using NTEXT datatypes in one or more columns on that
table right? It's not a big deal to work around this, just use:
mssql_query("SELECT CAST(field1 AS TEXT) AS field1 FROM table;");
Essentially you have to cast your NTEXT colums (or any which could have
more then 255
Sami,
You could put the 'chat screen' within a frame and set the page with a refresh value
within the meta tags so that it reloads every few seconds, i.e.
Hope this helps,
Michael Egan
-Original Message-
From: Sami Kyösti [mailto:[EMAIL PROTECTED]
Sent: 24 February 2003 13:35
To: [E
hi all,
' .
'CRYPT_STD_DES ' . CRYPT_STD_DES . "\n" .
'CRYPT_EXT_DES ' . CRYPT_EXT_DES . "\n" .
'CRYPT_MD5 ' . CRYPT_MD5 . "\n" .
'CRYPT_BLOWFISH ' . CRYPT_BLOWFISH . '';
echo crypt('clear_pass', '$1$salt1234$');
?>
// outputs
CRYPT_STD_DES 1
CRYPT_EXT_DES 0
CRYPT_MD5 1
CR
Hello,
I have an sql statement that pulls data into a dynamic list box, the problem
is, I have this list box twice on my form, since the query returns a lot of
rows, I do not want to have the query executed twice but I populate my list
box using the while loop so when it is time for the second lis
Michael,
I have tryed refeshing the screen but sometimes when i.e. reloads the
page it blinks.
Sami
Michael Egan wrote:
Sami,
You could put the 'chat screen' within a frame and set the page with a refresh value within the meta tags so that it reloads every few seconds, i.e.
Hope this helps,
> I have an sql statement that pulls data into a dynamic list box, the
problem
> is, I have this list box twice on my form, since the query returns a lot
of
> rows, I do not want to have the query executed twice but I populate my
list
> box using the while loop so when it is time for the second lis
Hey all,
echo "" | /path/to/php
That works on php v4.2.x but Ive got 3 machines on v4.3.x and none of them
seem to respond to the piping of the php config.
v4.2.x Response
[1
At 15:01 24/02/03, you wrote:
Hello,
I have an sql statement that pulls data into a dynamic list box, the problem
is, I have this list box twice on my form, since the query returns a lot of
rows, I do not want to have the query executed twice but I populate my list
box using the while loop so when
don't know if this will help, but you could do something like this
foreach ($hashes as $name => $variable) {
switch ($name)
{
case 'board':
$nameText = "PCB Type";
break;
Thanks all,
I will give all these ideas a shot!
Eddie
-Original Message-
From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 9:07 AM
To: Edward Peloke; [EMAIL PROTECTED] Php. Net
Subject: Re: [PHP] dynamic list box
> I have an sql statement that pulls dat
Hi guys,
I want to automate the process of connecting to a web-page and sending it as
a HTML email (like a weekly newsletter in html).
I've been reading up a bit on PEAR's Mail_mime
(http://pear.php.net/manual/en/core.mail.mime.php) but I just wanted to know
what the fastest way to accomplish my
At 15:31 24/02/03, you wrote:
I want to automate the process of connecting to a web-page and sending it as
a HTML email (like a weekly newsletter in html).
I've been reading up a bit on PEAR's Mail_mime
(http://pear.php.net/manual/en/core.mail.mime.php) but I just wanted to know
what the fastest wa
Anyone? please?
Thanks!
Shawn
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm using the following to try and replace urls in my html output:
>
> $newhrefs = preg_replace("/script.php\?(.*)=(.*)&(.*)=(.*)&(.*)=(.*)/",
> "script-$1-$2-$3-$4-$5-$6.html", $hrefs);
> is it a webpage you create with php or is it a webpage that you get from
> just any site?
It's a dynamically generated page on my site - I wanted to just include the
url's contents into a string, or something. So no I can't cheat and just
grab from the filesystem :)
cheers,
neko
--
PHP Gene
Call to the mail function like this, notice the Content-type header to be
set to HTML
mail($emailaddress, $subject, $email, "From: Me
<$myemailaddress>\r\nContent-type: text/html; charset=iso-8859-1\r\n");
Make sure that $email contains plain text html. I guess you already know how
to generate th
Immediately won't be possible as far as I know. For that, you have to create
a server socket, which is not (easily) able in php-scripts. But you can use
javascript to refresh the page. You could even create a 0 frame which
reloads by javascript and use DHTML to add the messages to the main chat
fra
update:
I think I just need to work out how to grab a web-page and include it into a
string to supply to the mail I'm generating (using pear). Provided that the
hyperlinks aren't relative I should have a funky looking email going on..
neko
"Neko" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL
That shouldn't be a problem. You could use fopen() to open the file.
"Neko" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> update:
>
> I think I just need to work out how to grab a web-page and include it into
a
> string to supply to the mail I'm generating (using pear). Provided th
Ok, i got this script i run on my server, this script runs exactly 47 secs
or so (45 to 49) each time i run it. I run it from the command line cause
it's going to be a CRON job i'll run every month.
My question is, why after 47 seconds or so does my script end saying:
Fatal error: Maximum execut
http://www.php.net/manual/en/function.file-get-contents.php
I was thinking of using this, however the website I want to pull the HTML
from uses relative links, so that places me in a pretty pickle if I want to
have the email make use of stylesheets and images.
:)
neko_
"Arjan Gijsberts" <[EMAIL
hi,
i think there is an error in the html part:
$drop_down_list .= "$aviao";
^
should that not be?:
$drop_down_list .= "$aviao";
HTH
t.
> -Message d'origine-
> De : Miguel Brás [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 24 f
stick a.
set_time_limit(XXX);
at the top of the page
where XXX is the maximum time u would like it to run. ex... 180 for say 3
minutes.
Joel Colombo
"Mathieu Dumoulin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ok, i got this script i run on my server, this script ru
Thank you, but it doesn'T explain why i can run the other script for 5
minutes without any set_time_limit
i'd like to get a precise explanation on why it's doing it, for the time
being i will use set_time_limit for this script.
Mathieu Dumoulin
"Joel Colombo" <[EMAIL PROTECTED]> a écrit dans le
it works
but i nnned one more favor
:)
how can i make the results of that form .. send it to me by email
how can i explain ...
down here is the form ... it workit ass well on my unix server
but
he does not send to me the form result by email
how can i do that ???
please?
:)
- Orig
and how can i do that??? mai you please___??
:)
- Original Message -
From: "Christoph Christ (Wien)" <[EMAIL PROTECTED]>
To: "Luis A" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 6:40 AM
Subject: Re: [PHP] Re: sending results by email
> did you set up the c
At 16:27 24.02.2003, Mathieu Dumoulin spoke out and said:
[snip]
>Thank you, but it doesn'T explain why i can run the other script for 5
>minutes without any set_time_limit
>
>i'd like to get a precise explanation on why it's doing it, for the time
>being i w
Hi guys,
Wonder if you can help me with this.
I have a "recording_global" table which has "recording_global_id" in and
"dj_global_id".
I want to be able to sort the "recording_global" table alphabetically by
dj name which I need to find from the "dj_global_id" table referencing
it from the ID
> It is wrong to use that way of doing it John, cause this will delete ALL
> lines that where printed with a checkbox
> And also, if you are using a old version of PHP with register globals OFF,
> the _POST array will not be available
You are mistaken. $_POST['checkboxes'] will only contain those
Hello,
I am having a problem with using LDAP and PHP... The two seperate
scripts work fine, but when I try to combine them in anyway It does not
complete... The scripts are below..
ldap_add.php
ldap-search.php
You should be able to get the idea of what I am trying to do... I have
t
> Hi guys,
>
> Wonder if you can help me with this.
>
> I have a "recording_global" table which has "recording_global_id" in and
> "dj_global_id".
>
> I want to be able to sort the "recording_global" table alphabetically by
> dj name which I need to find from the "dj_global_id" table referencing
>
Hello,
Is there any way I can creat my very own super global variables?
- Sid
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I checked the archives for this but couldn't find a simple answer.
I'm working on my own templating class. Mainly as a learning experience, but
also because I only want something really simple.
I sort of know how to do simple variable substitution. I have something along
the lines of this b
At 17:07 24.02.2003, Siddharth Hegde spoke out and said:
[snip]
>Hello,
>
>Is there any way I can creat my very own super global variables?
[snip]
No. If you have scalar variables you may define() them, but define() a
Could it be because i fopen the "php://stdin" stream that i can execute my
script for 5 minutes?
Mathieu Dumoulin
"Mathieu Dumoulin" <[EMAIL PROTECTED]> a écrit dans le message de
news: [EMAIL PROTECTED]
> Ok, i got this script i run on my server, this script runs exactly 47 secs
> or so (45 to 4
HE Y IS REALY WORKSA
PHP S' THA BEST >)
i love it php
im newbabe yet using php but i like it
>)
thanks for your atecion l
>))
- Original Message -
From: "R'twick Niceorgaw" <[EMAIL PROTECTED]>
To: "Luis A" <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 10:54 AM
Subject: Re: [PHP]
> Is there any way I can creat my very own super global variables?
You can assign values directly to $_POST, $_COOKIE, etc arrays and reference
them wherever you want later. It's just for the duration of the script,
though.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To
I am using sendmail and php and it works great...
However, It always says this in the header of the email
Received: (from [EMAIL PROTECTED])
Is there a way I can change this to something less generic, more specific to
my server?
TIA
--
Mike Yrabedra
President
323, Inc.
Home of The Mac
> I am using sendmail and php and it works great...
>
> However, It always says this in the header of the email
>
> Received: (from [EMAIL PROTECTED])
>
>
> Is there a way I can change this to something less generic, more specific
to
> my server?
Read the manual page on the mail() function along w
Question : When people send you junk e-mails they often have image refs and
so forth - does that mean they are using absolute links in the img refs?
I need to find a way to allow a non-technical user to quickly and easily
send off a web-page (generated on the fly) in email format, but so far I'm
s
I need to read a text file by line, if I open the file and use fgets() then
it doesn't pick up the EOL corretly. So I was planning on reading the whole
file in with fread() and then breaking it up by EOL characters. My question
is, how do I do it? What character do I search for in the string? A
What i would actually do is this:
Generate simple HTML code that creates a FRAMESET with only one FRAME point
the source directly on the page you wish to show to the user in the mail.
Here are the good reasons:
1) Updated content cause it stays on the web
2) Small email, no image, not even the re
Depends on what OS you are:
Windows: Search for \n\r (or chr(13) . chr(10))
Unix/linux: Search only for \n (or chr(13))
MAC: Search for only \r (or chr(10))
If you want to READ line by line instead of Exploding your complete content,
use this:
$myLine = fgets($myFilePointer, 1048576)
The 2 prob
Can PHP tell how many pages there are in a multi-page .TIFF file?
The tif file would be on the local machine.
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 17:12 24.02.2003, Mathieu Dumoulin spoke out and said:
[snip]
>Could it be because i fopen the "php://stdin" stream that i can execute my
>script for 5 minutes?
[snip]
Sure, if the script sits and waits until there
Using
$var=file('filename.txt');
Creates an array, with each element in the array being 1 line of the file.
Thanks
Mark
-Original Message-
From: Anthony [mailto:[EMAIL PROTECTED]
Sent: 24 February 2003 16:24
To: [EMAIL PROTECTED]
Subject: [PHP] Reading Text file by line
I need to
> 4) Easy to do for anyone, even for you, it's simple.
Thanks for that sly jab ;)
neko_
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The downside to this method is that many email clients (mine included) do not allow
content from the web to be downloaded or for frame displays. You can always have the
pictures linked to save on download time, but I would highly recommend that you create
your content in the body of the email.
Ok, trying to make even a simple test work with PHP using the MING
extension under windows, I've uncommented the MING dll in the php.ini
and I don't get any error's, but my test shockwave movie just spins and
spins, no error log, no nothing, the code I'm using is:
$t = new SWFText();
$
This might sound a bit paranoid, but since I don't know how it works, i'll
ask anyway.
If I encrypt a file using the Zend Encoder, is there anyone at zend who can
view it, or it it an unreversable encryption?
// Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
At 17:24 24.02.2003, Anthony spoke out and said:
[snip]
>I need to read a text file by line, if I open the file and use fgets() then
>it doesn't pick up the EOL corretly. So I was planning on reading the whole
>file in with fread() and then breaking it up by
On Tuesday 25 February 2003 00:07, Siddharth Hegde wrote:
> Is there any way I can creat my very own super global variables?
All variables defined in the global scope can be accessed via $GLOBALS.
So:
$my_very_own_variable = 'whatnot';
can be accessed anywhere as:
$GLOBALS['my_very_own_va
At 17:54 24.02.2003, Jason Wong spoke out and said:
[snip]
>On Tuesday 25 February 2003 00:07, Siddharth Hegde wrote:
>
>> Is there any way I can creat my very own super global variables?
>
>All variables defined in the global scope can be accessed via $GLOBA
this is true i guess but he doesnt want an image that looks like a button he
wants a 100% true authentic button that is depressed when you click it and
if the image doesnt move when you click on it he will throw a 600% royal fit
and none the less he doesnt really care if people with no java support
U'r 100% right Mr Ernest.
- Siddharth
> -Original Message-
> From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 24, 2003 10:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Creating my own super global variables
>
> At 17:54 24.02.2003, Jason Wong spoke out a
Ok, my problem of the day. I need to take a field from a form that has either a first
name, last name or both and then search the database for all records that match one of
those items. The problem, the database only has one field for the name.. where both
the first and last name are stored.
At 01:27 25-2-03, you wrote:
Thank you, but it doesn'T explain why i can run the other script for 5
minutes without any set_time_limit
In php.ini the default time limit is set.
And when you set the time limit in a script at the start of a loop, the
limit counter starts counting at zero again, or
On Mon, Feb 24, 2003 at 12:40:45PM -0500, Bryan Brannigan wrote:
>
> Ok, my problem of the day. I need to take a field from a form that has either a
> first name, last name or both and then search the database for all records that
> match one of those items. The problem, the database only has
> $path = "/";
> $domain = ".mydomain.ro";
> And in my cookie folder i find a cookie named:
> [EMAIL PROTECTED] But other computer (with
> problems) i don't have any cookie with same name.
> And if i reload the page and print
> $HTTP_COOKIE_VARS[$n_sessid]
> it's nothing. I have 12 computers and 10
1 - 100 of 188 matches
Mail list logo