The clock is ok. I write cookie with javascript and read with php.
For moment is the best solution i have. In future i hope to resolve
this problem and i find solution i post it here.
Thanks for help.
kale
-Original Message-
From: Gonzo [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24
My problem is that I am trying to send a PDF file from my server after
someone has registered for it. The email message, correct attachment
name and even file type arrive correctly but the file is only 73Bytes
and when you try to open it I get a read error. Can anyone see what is
wrong?
// send an
try www.phpfreaks.com they've got a nice tutorial on this...
Regards
Adriaan :)
"Miguel BráS" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi guys,
>
> Anyone has a good example to build a system that show X records per page
and
> give links to next and previous pages?
>
> Thx
>
Your scripts must be very large...make the codes comming in the if block in
another file and include it(use your descretion). The less often excuted
code is better off as include files...
And use 'require' only when required.
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsub
Off topic :) ?
Anyone know how to explode using javascript?
$pieces = explode(" ", $pizza);
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I have some text that outputs to a page without a variable, example:
echo
> "text";
>
> the echo has text that I would like to preg_replace.
>
> since there is no variable, is it possible to make a $dummy variable
so
> either way it replaces the text that i would like inside the echo?
>
> this
Greetings.
I have some text that outputs to a page without a variable, example: echo
"text";
the echo has text that I would like to preg_replace.
since there is no variable, is it possible to make a $dummy variable so
either way it replaces the text that i would like inside the echo?
this is th
Look up the header() function in the docs. Basically, you would do
this:
if($logged_in_ok)
header("Location: ".$url_to_go_to);
There are some things to note when using header, so again, check the
docs before you use it.
---Matt, XPODesigns.com
-Original Message-
From: Antoine [
this might appear to be a simple question but I would like to know how I
am able to have php auto load a different page. Here is the problem.
I have a nice script that is used for logining in a user. But I have
the script call itself so that it can test to see if the user name is
correct. If t
well ok that was an interesting little quote about the jokes and stuff...
was sort of funny.. anyways yes that is what he wants it for (but... i guess
anybody can go to it he says now) but from his worksheets and stuff for
reason of the web site it says nothing about general public.. and from
talki
There are a lot of free java IRC applets on freshmeat.net, many of them
with very nice features. By using a java applet you will reduce some
strain on your server, a server side language whether it be Perl, PHP,
ASP or anything else is typically not a good way to do chat, especially
when there are
> ... well he said basically that this web site isnt being used
> for
> "everybody" and it is only used for pastors that need somewhere to go
and
> get info and relief from problems they might have and dont want to
tell
> people in their church about it.
Oh my god!!! So many jokes came to me so qu
You can't have a special character as the key to an array without
surrounding it by quotes. Here's a solution to that and a better way to
organize your code.
If you define your array as such:
$color=array(
//numeric
"1"=>"#FF","2"=>"#00FF00","3"=>"#F0FF0F",
"4"=>"#FF","5"=>"#00","6"=>
Is there any way to determine what function (if any) called a particular
function???
Example:
function myFuncA() {
myFuncB();
}
function myFuncB() {
some stufff;
}
In myFuncB() can I find out that I was called by myFuncA()???
FYI... I am trying to write some code that integrates wit
It does more then that... From my experience of some of my previous PHP
script and the tech support questions I got from them, some users really
don't how to customize the variable they need to make the script work. Plus,
some PHP programers want to have those flashy install shields like phpBB and
on 24/02/03 11:42 AM, Jason Lange ([EMAIL PROTECTED]) wrote:
> What you might try is removing the single-quotes from around PHP_SELF.
>
> Before: $_SERVER['PHP_SELF']
> After: $_SERVER[PHP_SELF]
>
> Another note: as far as I can tell you do not need the braces ({}) to
> enclose a variable withi
Hm. Looks pretty nice. Cool page and the demos are pretty slick.
But I can't really see what it would be useful for. Maybe I missed
something but it seems to be a sort of InstallShield for php scripts.
While this sounds like a good idea, its actually quite useless. What
is normally involv
Please keep the emails on-list, so that others can learn, and search the
answers in the archive -- that's the whole point of the list.
on 25/02/03 12:14 AM, Alberto Brea ([EMAIL PROTECTED]) wrote:
> Justin,
> Thanks for your answer
> The only real problem seems to be how to capture the different
Why not just use a form with nothing but a button?
Sunfire wrote:
i do have something about the fact that this web site is "user friendly" or
not.. and so does the other person that i work with. we tried to tell him
that a link would look just fine there and everybody could use it even with
ve
I cant find a way to properly escape the special characters for php code
evaluation (iam sure its something simple) Can some one point this out?
[errors generated]
Parse error: parse error, unexpected ']'
Fatal error: Failed evaluating code: $color[!]
[function containing error]
function HTMLfrom
i do have something about the fact that this web site is "user friendly" or
not.. and so does the other person that i work with. we tried to tell him
that a link would look just fine there and everybody could use it even with
very old browsers (if ther are any out there). we also told him for
acc
I can't tell you anything about your problem without knowing what's
going on (error messages are helpful). As for overwriting a file, just
use: fopen($filename,"w");
The "w" option tells it to open the file for writing and to truncate it
to zero-length.
---Matt, XPODesigns.com
-Original Mes
> Have a problem in reading a text file and displaying it in a text box
> area,also what function should i used to overwrite an existing text file.
For type text boxes, use the following -
$var
Please note that if you include *any* kind of spaces or tabs or other
characters between the textare
On February 23, 2003 11:08 pm, John Taylor-Johnston wrote:
> Which variable should I use?
>
> _SERVER["HTTP_HOST"]
> _SERVER["SERVER_NAME"]
> HTTP_HOST
> Server_NAME
> Host
Docs are your friend. or JUST TRY IT.
leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
function getID($variable){
return $HTTP_GET_VARS[$variable];
}
"Patrick Teague" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I know I've seen something about this (I can't remember whether yea or
nay),
> but I can't remember where I found it as at the time I was looking for
> s
I know I've seen something about this (I can't remember whether yea or nay),
but I can't remember where I found it as at the time I was looking for
something else... and now that I'm looking for it I can't find it again.
Anyways, what I've done is store variable names that end up being passed as
p
"Sunfire" <[EMAIL PROTECTED]> wrote:
> 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 can make something that can be "depressed" with just
images--o
Hi,
Have a problem in reading a text file and displaying it in a text box
area,also what function should i used to overwrite an existing text file.
mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Anyone has a good example to build a system that show X records per page
and
> give links to next and previous pages?
I know MySQL has a 'LIMIT x, y' you can tack onto the end of a query (I'm
guessing this goes the same for any other SQL db?). From how I've seen this
work, 'x' is the start numb
> This may be a really elementary question but is it a good idea to add
the
> extension .html to be processed as php?
> If so then it would save me quite a bit of relinking with flash...
It adds a little overhead to HTML files, but doesn't hurt that much.
---John W. Holmes...
PHP Architect - A
Hello,
On 02/24/2003 01:51 PM, Thomas Johnsson wrote:
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?
Sure. Actually it is technically po
This may be a really elementary question but is it a good idea to add the extension
.html to be processed as php?
If so then it would save me quite a bit of relinking with flash...
Thanks!
I am trying to use gettext with Horde and Horde's test page says I do not
have gettext installed. When I check my phpinfo() I see it listed there in
the config line:
'./configure' '--with-apxs=/usr/local/apache/1.3.27/bin/apxs'
'--with-config-file-path=/usr/local/lib' '--disable-debug'
'--enable-m
Hi guys,
Anyone has a good example to build a system that show X records per page and
give links to next and previous pages?
Thx
Miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I am very new to dynamic web site (I am using GoLive6 on Mac together
with php & mySQL) and I am very confused about "variables". I would
appreciate your feedback on my first dynamic site
http://www.vergelegen.co.za (Media section - login test - password
test).
1/ There are quite a few th
My only remaining thought is that if the file looks like it has line breaks
when you open it then it must have line breaks of some kind. You could
experiment with \r and \n\r by reading the file into a variable and then
explode("\n\r",$file) to see if that creates the array for you. Other than
th
To do this you would use multiple nested case statments and break only after
the last case statement. You cannot use conditionals within a case
statement but this has the effect of an OR condition...
switch($color)
{
case "black": case 1:
return ImageColorAllocate($image,0,0,0);
b
switch($color)
{
case 1:
case "black":
return ImageColorAllocate($image,0,0,0);
break;
case 2:
case "white":
return ImageColorAllocate($image,255,255,255);
break;
case 3:
case "gray":
return ImageColorAllocate($image,200,200,200);
break;
}
--
>O Ernest E. Vogel
I'm trying to make a switch statement that looks for more than one possible value.
Something similar to:
switch($color)
{
case "black" || "1":
return ImageColorAllocate($image,0,0,0);
break;
case "white" || "2":
return ImageColorAllocate($image,255,255,255);
break;
case "gra
Hello all,
I am trying to read the contents of a file called 'file.txt' into an
array and then compare it with the user inputs.
when I read the file it gets stored as a single line. I am trying to
get a way around that but alas.
I would really appreciate any help. Thanks
--Pushpinder
HERE IS
http://www.php.net/manual/en/language.variables.variable.php
Kirk
> -Original Message-
> From: Bob Irwin [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 24, 2003 3:28 PM
> To: php-general
> Subject: Re: [PHP] array question
>
>
> Hi Guys,
>
> This might be a bit of a newbie questio
Hello,
I'm having php on a redhat 8. I want to send email using php. The info I
find is always referring to php.ini. My question is, do I have to change
the line
sendmail_path /usr/sbin/sendmail to something (I'm using evolution as a
email client). I also tried to change smtp in to my isp smt
Hi Guys,
This might be a bit of a newbie question, but I'm not sure how to search
for this particular information as its hard to put in search terms.
Say I have a mysql/file with information about variables. Eg, I have a
string from a mysql database of 'test'
Am I able to then, in PHP, assign
try something like this:
$groups= file("group");
$number_in_group = count($groups);
for( $i = 0; $i < $number_in_group; $i++)
{
$temp = explode(":",$groups[$i]);
$group[$i]['pass'] = $temp[1];
$group[$i]['id'] = $temp[2];
$group[$i]['list'] = $temp[3];
}
for( $i = 0; $i < count( $gr
Being a starter you should really check out the relevant documentations,
for HTML forms
http://www.w3.org/TR/REC-html40/interact/forms.html
for PHP forms processing
http://www.php.net/manual/en/tutorial.forms.php
(AT LEAST).
The online docs and specs are a vast resource of information; it
At 22:54 24.02.2003, Jonas Geiregat spoke out and said:
[snip]
>when I add method="post" it doesn't work anymore I always get the form back
[snip]
It is working if you don't use method="POST"?
Have a look at your cod
Ernest E Vogelsinger heeft geschreven:
At 22:42 24.02.2003, Jonas Geiregat spoke out and said:
[snip]
http://kemu.ath.cx/intranet/login.phps
when I press submit everything is OK it works like I want it to work but
I'm not happy with the result I see in my ur
At 22:42 24.02.2003, Jim Pringle spoke out and said:
[snip]
>I've noticed some sites that have variables in the link
>(template.php?tpl=fold), but when the page is displayed, the variable is not
>visable in URL in the address window.
>
>How do you do this?
--
At 22:42 24.02.2003, Jonas Geiregat spoke out and said:
[snip]
>http://kemu.ath.cx/intranet/login.phps
>when I press submit everything is OK it works like I want it to work but
>I'm not happy with the result I see in my url window
>I see this
>http://localho
> There is not a way to encrypt something so that is is totaly, positivly,
> iriversable. As for someone at zend looking at them, there probably is,
but
> they have a duty not to do anything with them.
So what you are saying is that zend probably has a way of un-encoding the
encoded files, if they
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Jonas Geiregat [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 3:42 PM
To: [EMAIL PROTECTED]
Subject: [PHP] general question ?
http://kemu.ath.cx/intranet/login.phps
wh
> http://kemu.ath.cx/intranet/login.phps
> when I press submit everything is OK it works like I want it to work but
> I'm not happy with the result I see in my url window
> I see this
> http://localhost/intranet/login.php?user=kemu&passwd=test&submit=login
> I don't like it that you can know the p
Jim Pringle heeft geschreven:
I've noticed some sites that have variables in the link
(template.php?tpl=fold), but when the page is displayed, the variable is not
visable in URL in the address window.
How do you do this?
thanks
Maybe they redirect you ?
--
PHP General Mailing List (http://www.p
How about changing your post method to 'post' instead of 'get'?
Right now it looks like you do not declare the method at all so it defaults
to get.
" method=post>
And then of course you will have to us the $_POST['user'] instead of
$_GET['user']
HTH
-Brad
Jonas Geiregat wrote:
> http://kemu.ath
At 01:42 24.02.2003, Jason Lange spoke out and said:
[snip]
>What you might try is removing the single-quotes from around PHP_SELF.
>
>Before: $_SERVER['PHP_SELF']
>After: $_SERVER[PHP_SELF]
This is only valid if the array is contained within a double quote
I've noticed some sites that have variables in the link
(template.php?tpl=fold), but when the page is displayed, the variable is not
visable in URL in the address window.
How do you do this?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
http://kemu.ath.cx/intranet/login.phps
when I press submit everything is OK it works like I want it to work but
I'm not happy with the result I see in my url window
I see this
http://localhost/intranet/login.php?user=kemu&passwd=test&submit=login
I don't like it that you can know the passwd
is the
> Is it possible to maintain the carriage returns in a
> database insert. When I input data from a textfield
> with returns into the database, it is lost on a
> subsequent select and print.
They're still there, they don't disappear for no reason. HTML does not
understand newlines, though, only e
> What you might try is removing the single-quotes from around PHP_SELF.
>
> Before: $_SERVER['PHP_SELF']
> After: $_SERVER[PHP_SELF]
>
> Another note: as far as I can tell you do not need the braces ({}) to
> enclose a variable within a double-quoted string. I may be wrong, but
> nothing I've rea
At 21:22 24.02.2003, {R}ichard Ashton spoke out and said:
[snip]
>while ( $flag == true )
>if (strpos($body, $word[]) > 0) {$flag=false}
>
>What I really need to know is which is the fastest loop?
>Which is the fastest match, strpos?
>Which is the fastest com
carriage returns in a text field (textarea) are different than how HTML
formats data to be displayed. Look into the nl2br() function.
http://www.php.net/manual/en/function.nl2br.php
HTH,
Jason k Larson
Daniel Guerrier wrote:
Is it possible to maintain the carriage returns in a
database insert.
Is it possible to maintain the carriage returns in a
database insert. When I input data from a textfield
with returns into the database, it is lost on a
subsequent select and print.
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, mor
What you might try is removing the single-quotes from around PHP_SELF.
Before: $_SERVER['PHP_SELF']
After: $_SERVER[PHP_SELF]
Another note: as far as I can tell you do not need the braces ({}) to
enclose a variable within a double-quoted string. I may be wrong, but
nothing I've read advocates d
better still , is there a simple way to preg_replace index.php?fooID=1 to
index/1.html from a href link?
-Original Message-
From: Mark Cubitt [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 10:50 PM
To: electroteque; [EMAIL PROTECTED]
Subject: RE: [PHP] creating flat versions of
file() creates the array based on 'new line' characters (\n). If no line
breaks are present then it will create an array with one element and that
element will be entire file. What exactly does this list.txt file look
like?
- Kevin
- Original Message -
From: "Pushpinder Singh Garcha" <
Hello All
I am trying to load the contents of a file stored on the server in to
an array. The file has 125 or so lines. However when I load the file
into the array and try to print the array elements..all I see is one
continuos line.
$PASSPORT_CODES=file("../GUEST/list.txt");
if(!$PASSP
> > Put some quotes around the tag value for just in case the $aviao has a
space
> > in it:
> > $drop_down_list .=
"$aviao";
>
> what about if $aviao contains a double quote?
> what's the proper way to handle that case?
> or, in other words, what's the most general way to solve this pr
This is the code I am using to get the data out of the text file
below. Now I need to turn the $group[3] into an array of its own so
that I can make changes to it. How do I turn this into an array that
I can reference with $group[0]. What I need to be able to do is
search for the label in $group[0]
I am looking for the most efficient way to search for "Trigger words"
in a big string.
I have a string, $body which is all of the body of any particular
Usenet Post, so it can be as short as "Me too" and up to some, as yet
undecided, limit say around 10Kbytes.
I have a list of words in an array,
sounds close, but the latest stories are going to have to be generated every
hour or so, so what are the functions to do this in php though ? would
fopen,fread and fwrite do the trik ? i need a way to hange the links within
the page all back to html so somehow doing a preg_replace for foo.php?id=1
php=backend
alert boxes=front end
checkout JavaScript. You can use php to dynamically generate JavaScript.
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Sunfire [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 2:0
At 20:58 13.02.2001, Dennis Cole spoke out and said:
[snip]
>Not to be nosey or anything but "usually" session data will always be saved
>or not. How come one would want to check to see if is was or not.
[snip]
I didn
It may do some good to give you the URL to the website, won't it? Sorry...
http://piw.melchior.us
Thanks,
Stephen Craton
http://www.melchior.us
- Original Message -
From: "Stephen Craton" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 3:04 PM
Subj
Hello all,
Very sorry if this is spam, but we all need some meat now and then, right?
;-)
Anyway, some of you may recognize me as being the horrible PHP coder that
has so many errors he can't get past the echo command. Others may know me as
the math maniac for asking so many math related PHP func
There is not a way to encrypt something so that is is totaly, positivly,
iriversable. As for someone at zend looking at them, there probably is, but
they have a duty not to do anything with them.
-Original Message-
From: Thomas Johnsson [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24,
hi
was just wondering if there is something with php that will let you create a
browser dialog box when someone pushes a submit button or something like
that...
tnx
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus D
Hi,
phpDocumentor is fully 30% faster (version 1.0.0, 1.1.0, 1.2.0beta2, cvs
head) in PHP 4.3.0 than in PHP 4.2.3 on both linux and windows.
The backend for my website is not noticeably faster or slower in PHP
4.3.0/4.2.3 and contains a good deal of database access to mysql.
Greg
--
phpDocumento
Not to be nosey or anything but "usually" session data will always be saved
or not. How come one would want to check to see if is was or not.
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 7:49 AM
To: Mr Percival
Cc: [EMAIL PROTECTED
I need to add the following to an array so that I can add,delete and
change the data to the right of the last : I am thinking I first have
to split this into an array and then split the part I what into
another array. Would this be called a associative array? How do I
create this type of array from
Randum Ian wrote:
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 referenc
"Daniel Guerrier" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Duplicate column name 'y'
> Back
>
> It means what it said. You are trying to create a
> table with two columns with the same name.
no i use the textfields presented with the interface. i create a new table
with 1 f
Duplicate column name 'y'
Back
It means what it said. You are trying to create a
table with two columns with the same name.
--- Michael Gaab <[EMAIL PROTECTED]> wrote:
> i am using the phpmyadmin interface to develop a
> small web based
> application.
> when i create a table i get the following
i am using the phpmyadmin interface to develop a small web based
application.
when i create a table i get the following error. for some reason the query
inserts a duplicate.
any help appreciated, mike
Error
SQL-query :
CREATE TABLE `t2` (
`y` VARCHAR( 5 ) NOT NULL ,
`y` VARCHAR( 5 ) NOT NUL
At 18:14 24.02.2003, I spoke out and said:
[snip]
>If you have a look in main/main.c, there's an array called
>"short_track_vars_names" at the very beginning, which is later on looped
>and t--its contents passed to zend_register_auto_global(), which in turn a
www.php.net/htmlentities
Michael Cook wrote:
Chris Hayes <[EMAIL PROTECTED]> writes:
Put some quotes around the tag value for just in case the $aviao has a space
in it:
$drop_down_list .= "$aviao";
what about if $aviao contains a double quote?
what's the proper way to handle
At 18:40 24.02.2003, Bryan Brannigan spoke out and said:
[snip]
>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. Th
Chris Hayes <[EMAIL PROTECTED]> writes:
> Put some quotes around the tag value for just in case the $aviao has a space
> in it:
> $drop_down_list .= "$aviao";
what about if $aviao contains a double quote?
what's the proper way to handle that case?
or, in other words, what's the most
sorry.. im confused because i saw this message floating around the list
about 4 times last night about 12 hours ago or so and now i just get the
original? or is this just another repost again... im confused as to whats
going on with how messages are sent out
- Original Message -
From:
> $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
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
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
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.
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
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
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
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: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
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:
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();
$
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.
1 - 100 of 188 matches
Mail list logo