thanks ill try that
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "Chris Anderson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, February 21, 2001 12:39 AM
Subject: Re: [PHP] Problems with Mail
> On Sat, 17 Feb
Is there a function to return the day of the week? Or at least a number that I can use
to determine this?
Thanks
This is going to sound like heresy, but is there any way to use ASP and PHP in the
same fle/page? Seperated of course.
I've heard alot about the Zend Encoder. Using it can I encode I file so that php still
executes it, but a person cannot read my source by looking at the file? I'm
programming components for people and would prefer if they could use it, but not see
my source. Does it require any extra server set
I know php can't do this but I hoped somehere would know how. I have a page with many
select boxes(drop downs). I want it so that if someone selects a value, it is removed
from all the others. And if they change it, the old value is returned to the other
boxes. Any help would be appreciated
Close, But I meant this:
drop downs have
if I select Dog from the first box the rest contain
but if I chnage it to the others would have
- Original Message -
From: "Dennis Gearon" <[EMAIL PROTECTED]>
To: "Chris Anderson" <[EMAIL PROTECTED]>; "PH
After realizing that The Zend Encoder is 2000$ I've decided that wont work for a
college student(me). Is there any other way to protect source in my components?
Alright I'll start this out by saying I have a subscription to "Visual Basic
Programmers Journal". Before I converted and realized that I loved PHP so much I used
ASP. Well it seems that in this magazine that XML is a hot topic in the MS world. I
know XML can be used by PHP, but is there a poin
t's XML's Purpose??
> Hi Chris,
>
> @ 12:01:45 AM on 4/14/2001, Chris Anderson wrote:
>
> > Am I missing something here?
>
> This has been discussed many times. There was an extremely long thread
> last year about XML, but I can't find it in the archives.
&g
I realized that'll that I don't do much to help this community. I rarely reply to
people's questions. Mainly because I have 56.6 and when I get mail people answered
already. I also ask alot of questions. Just saying thanks for putting up with me.
Chris, The 17 yr
ROTECTED]>
Sent: Saturday, April 14, 2001 7:47 PM
Subject: Re: [PHP] Sorry :(
> Hi Chris,
>
> @ 3:51:02 PM on 4/14/2001, Chris Anderson wrote:
>
> > I realized that'll that I don't do much to help this community. I
> > rarely reply to people's questions. Mai
As far as decryption goes, ignore that. When they choose as password Crypt()
it with a seed. Then when the login, Crypt() what they type in with the same
seed and compare to 2. Decrypting means you have the dcryption source lying
around somewhere. A definite scurity problem. Crypt does a great job
Have you checked the following things:
A) if the file is actually there?
B)Is it an include error
C)Do you have the required permissions for write access and for including
from that directory?
- Original Message -
From: "CC Zona" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, Ap
come to think of it, why are you passing 3 arguements to fwrite()?
- Original Message -
From: "CC Zona" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 5:34 PM
Subject: [PHP] fwrite not writing (simpler example), PHP 4.0.4pl1,
Apache/1.3.14
> Suggestions so far h
alright try removing the byte length identifier
- Original Message -
From: "Chris Anderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 1:20 PM
Subject: Re: [PHP] fwrite not writing (simpler example), PHP 4.0.
Each time you change the value you need to re-set the cookie using
SetCookie() again
- Original Message -
From: "kmurrah" <[EMAIL PROTECTED]>
To: "PHP-GENERAL" <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 3:15 PM
Subject: [PHP] siimple cookie problem
> Can someone help me with an ele
Also, try deleting the cookie:
Setcookie("name")
then setting it again. Some browsers all have cookie problems I've heard
also. Have you hit refresh?
- Original Message -
From: "kmurrah" <[EMAIL PROTECTED]>
To: "PHP-GENERAL" <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 3:15 PM
Subject:
From: "CC Zona" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 10:48 PM
Subject: Re: [PHP] fwrite not writing (simpler example), PHP 4.0.4pl1,
Apache/1.3.14
> In article <006701c0c699$ad65cdc0$8b1412d1@null>,
> [EMAIL PROTECTED] ("Ch
PHP 4.0.4pl1,
Apache/1.3.14
> In article <012101c0c69b$b01b8d00$8b1412d1@null>,
> [EMAIL PROTECTED] ("Chris Anderson") wrote:
>
> > I tried it, even with the byte length identifer it worked perfectly for
me.
> > As a last ditch effort try changing the w to
Check out the mail() function in the php manual. There is literally tons of
info on this function.
- Original Message -
From: "Boaz Yahav" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4:54 PM
Subject: [PHP] Sending Email via PHP on Win2K
> Hi
>
> Has anyone d
I have seen this before. For me it was a problem with the post operation.I'd
give specifics, but frankly I can't remember...sorry :(
- Original Message -
From: "Marc Davenport" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 6:19 PM
Subject: [PHP] Advanced Help N
try the javascript print() command
- Original Message -
From: "Dmitry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 22, 2001 10:11 PM
Subject: [PHP] Printing
> Hello, all!
>
> Do you know, can I print some page using PHP or
> JavaScript?
>
> Dmitry.
>
$Data = file("data.dat");
$Total = count($data);
That would get the lines from the file and give $total the number of lines.
- Original Message -
From: "Rafael Faria" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 4:03 PM
Subject: Re: [PHP] Lines
> But how can
Hitting refresh would do it, you cant do anything client wise because the
box is being filled by the server code
- Original Message -
From: "Martin Skjöldebrand" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 3:53 PM
Subject: [PHP] Autoupdate of page
> IS there
Good definition. Another thing to note is that variables defined in a
class's body can be accessed by all the other class functions without
needing arguements to use them. Thats a nice feature
- Original Message -
From: "SED" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April
That means the server isnt set to parse files with a .php extension. You'll
have to fix the associations in your server settings
- Original Message -
From: "S.J. Black" <[EMAIL PROTECTED]>
To: "PHP mail list" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, Apri
To send any information you need to use the mysql_query() function after
connecting with mysql_connect() or mysql_pconnect(). They are all documented
in the manual. Or am I misreading your question??
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, Ap
unfortunately, you dont have access to the files until they are on your
server, ie: already uploaded. You can compress them afterwards though like
you would normally
- Original Message -
From: "Michael Conley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 6:37
Alright, count($x) would give me the number of array elements in $x. But how can I get
the count of a multi-dimensional array? Count($x[0]) doesn't seem to work. Thanks in
advance
Chris Anderson aka "Null"
PHP Developer / N
I would recommend that you send a link instead of the actual doc file.
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Tester / gtk.php.net
STA Administrator / www.stronger.org
DOD Co-Owner / www.dayofdefeat.com
- Origin
If it is being sold for profit it is.
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Tester / gtk.php.net
STA Administrator / www.stronger.org
DOD Co-Owner / www.dayofdefeat.com
- Original Message -
From: &quo
Does anyone know how to place code into every file accessed on my server? Kindof like
how geocities and countless other hosts manage to add their banners?
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Tester / gtk.p
A good book for a beginner is "The PHP 4 Bible"
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Tester / gtk.php.net
STA Administrator / www.stronger.org
DOD Co-Owner / www.dayofdefeat.com
- Original Messag
Personally I haven't tried, but I know many people have written classes to
allow this. Try searching most php sites.
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Contributer / gtk.php.net
STA Administrator / www.stro
Unfortunately VB 6.0 com components do not like to work outside of
their ASP and VB bases. I've heard of a few people trying it, but I
heard it was very difficult. I'd help more, but I've never used PHP
with com, only with ASP
Chris Ander
Is there a way for each user on a server to have their own php.ini
settings? If so...how? Thanks
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Grunt / gtk.php.net
STA-DoD, TO and DDay Administrator / www.stronger.org
DO
at's just how I do it
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Grunt / gtk.php.net
STA-DoD, TO and DDay Administrator / www.stronger.org
DOD Co-Owner / www.dayofdefeat.com
Zeroping Staff Member / www.zeroping.com
Voli
ction nothing happens. Nothing at all. Any ideas?
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Documentation Writer / gtk.php.net
STA-DoD, TO and D-Day Administrator / dod.stronger.org,
to.stronger.org, dday.stronger.org
Zeropi
server. What is that?
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Documentation Writer / gtk.php.net
STA-DoD, TO and D-Day Administrator / dod.stronger.org,
to.stronger.org, dday.stronger.org
Zeroping Staff Member / www.ze
too simple :)
doesnt fix it anyway, it was a xhtml compliancy problem
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Documentation Writer / gtk.php.net
STA-DoD, TO and D-Day Administrator / dod.stronger.org,
to.st
I have a script that sets cookies for validation. The problem is that on some
servers(wwws) it works fine, but on another when submitted it gives a 404 error. I can
send the code to someone if they like, but this is driving me insane. It's just too
long to add here
Thanks
Remove the '' around the 1.
- Original Message -
From: "Chris Doyle" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Friday, March 23, 2001 9:44 PM
Subject: [PHP] [php] Varible declaration
Hi,
when I declare the varible $cid like this "http://myserver/index.php?cid=1"
it wo
got it now..
> needed to declare it global.
>
> - Original Message -
> From: "Chris Anderson" <[EMAIL PROTECTED]>
> To: "Chris Doyle" <[EMAIL PROTECTED]>; "PHP List"
> <[EMAIL PROTECTED]>
> Sent: Friday, March 23, 2001 6:40
it would help if you showed a snippet of your mail code
- Original Message -
From: "Atet Sugiharto" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 24, 2001 1:49 AM
Subject: [PHP] Sendmail
> Hi ,
>
> I'm at a lossI've searched throught the knowledgebase, archives, d
Is there any way to decrypt dat encrypted using the crypt function? If not, then what
purpose does that function have?
iginal readable text then you'll have to use
> Mcrypt() functions in PHP instead (if you have PHP 4 and above ).
> There are also other Encrytion functions available, check in the
> manual:
>
> http://www.php.net/manual/en/ref.mcrypt.php
>
>
> > -Original Me
I know using ../ in a path moves to the parent directory. But is there a way to move
back farther then that?
Cool, not my thread, but i never knew about the list function. /me needs to
read up an arrays more i guess
- Original Message -
From: "Matt McClanahan" <[EMAIL PROTECTED]>
To: "Richard Kurth" <[EMAIL PROTECTED]>
Cc: "PHP" <[EMAIL PROTECTED]>
Sent: Thursday, April 05, 2001 6:56 PM
Subject:
funny thing is, I thought to try it, but thought it looked too strange to
work ^_^
- Original Message -
From: "Jack Dempsey" <[EMAIL PROTECTED]>
To: "Chris Anderson" <[EMAIL PROTECTED]>
Cc: "PHP" <[EMAIL PROTECTED]>
Sent: Thursday, Apr
Are there any PHP magazines stateside? I see all kinds of ASP mags, but none for PHP
I've been having large problems with this so I decided to ask you guys(and gals ^_^).
I have a textarea where you can type your text and it is saved to a file. Then another
script includes that. Unfortunately I can't find a way for the textarea to wrap the
text, or make it so it shows it they w
Currently I am using the sort() command to sort an array. Unfortunately it uses the
ascii number so all words starting with uppercase are before lowercase. Is there a
case insensitive alphabetical sort that I don't know of? Thanks in advance ^_^
heh, sounds fun. Oh well Thanks
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "Chris Anderson" <[EMAIL PROTECTED]>; "Chris Anderson"
<[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]>
Sent: Monday, April 09
/me counts to himself
Yep 3 times, thats as bad as those people who sign up the lottery ads to
this list
- Original Message -
From: "Jon Haworth" <[EMAIL PROTECTED]>
To: "'Jeffrey Greer'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 12:52 PM
Subject: RE: [PHP] __
I currently am using Thehostpros.com for my hosting, but I can't say its been a
pleasant experience. I had to have them install PHP because they are more ASP
oriented. So that cost me more. Then I wanted MySQL and they have spent 3 months
saying they'll install that. Basicly here's what I need:
Alright I finally got around to installing MySQL on my cpu, and I sucessfully created
a database. Now I have a ryyy dumb question. In the manual I see no
functions for creating tables in a database through code. Maybe I'm just missing the
function. Can someone help me?
I prefer to write my own
- Original Message -
From: "Zeus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001 10:11 AM
Subject: [PHP] Easy News Script
I'm sure many of you heard of newsphp ? (the newspro-clone).
Somehow I felt attached to it except that it doesn'
ler's account with AIT is a great way to go. A couple of paid sites
can
> quickly cover the costs for your own site.
>
> I am up to 27 virtual hosts on my account
>
> On 4/12/01 10:28 AM, "Matt McClanahan" <[EMAIL PROTECTED]> wrote:
>
> > On Thu, Apr 1
If I grab values from fields and they contain nothing, and I retrieve them using
mysql_field_array, it will give an index out of range. Is there a way to prevent the
error or do I have to keep putting a @ in front of the variable declaration?
I have a large script set that allows people I host to manage their files on my server
until they have a FTP account setup. Unfortunately the only way they can save an
uploaded file is to r-click on the link in the managers listing and choose "Save link
target". This obviously doesn't work for
I am so tired of receivng multiple error emails when I post
did you sign up 10 times?
- Original Message -
From: "MySQL" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 7:25 AM
Subject: [PHP] Mails
> Can someone tell me why i'm receiving the mails 10 times each???
>
>
> --
> PHP General Mailing List (http://www.php.n
I am about to write a new admin system for a
website I do and it will have many different logins. I was wondering overall
which most of you thought would be better for such a thing? Wants really a pro
about sessions over cookies?
I've been reading through the MySQL manual about
backing up my database using mysql dump. I tried passing it as a Query in PHP
but that doesn't seem to work. Does anyone know how to do this? Also does the
dump back up the files into a directory I specify? I am on a virtual host and
need to c
I have mayn scripts on a website that use MySQL connections for various tasks.
Strangely sometimes a task will hit the timeout (30 sec), then work perfectly when I
refresh. Or even work perfectly other times. I'm using Apache on Windows 98 and I'd
never had this bug before. Would it be because
you may want to send this as a NON-reply, because many people view mail by
grouped threads, and thus would miss your question
Original Message -
From: "Sterling Anderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 01, 2001 12:05 AM
Subject: [PHP] accessing files not in www
Don't post the question in a reply and someone will see your question
- Original Message -
From: "Jason brashear" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, July 01, 2001 5:34 PM
Subject: [PHP] question about forms.
> I have a question. I am using PHP MySQL.
> I am able t
Maybe he means $PHP_SELF?
Then again he just kindof rambled
- Original Message -
From: "Jason Murray" <[EMAIL PROTECTED]>
To: "'ReDucTor'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 12:37 AM
Subject: RE: [PHP] Quicky, I forgot a Varible ):
> > Hey, I Forgot the
You need to open your httpd.conf and add the extension lines to make it
parse php. Mine looked like this:
ServerRoot "C:/Dev/Apache Group/Apache"
ScriptAlias /php4/ "C:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .ph
You guys have some serious problems. I recommend getting help
- Original Message -
From: "Justin Farnsworth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 8:42 AM
Subject: [PHP] Re: mailing list [EMAIL PROTECTED]µÄ×Ô¶¯»ØÐÅ
Getting the size is easy, and if you had a small dictionary you could see if
the password existed in that by looping through it. Not sure about checking
if it is LIKE the username
- Original Message -
From: "Charles Sprickman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July
btw, that error looks more like a mysql setup / runtime problem. IE..is the
server running?
- Original Message -
From: "Paul Burney" <[EMAIL PROTECTED]>
To: "andreas (@work)" <[EMAIL PROTECTED]>
Cc: "php mailing list 2" <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 11:51 AM
Subject: [PH
When I wanted multi-dimensional with forms, I think I had to do this:
- Original Message -
From: "Wieger Uffink" <[EMAIL PROTECTED]>
To: "Jeff Gannaway" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 8:32 AM
Subject: Re: [PHP] Basic multi-dimensional array help
Ugh Netware. I believe that is Windows oriented/based so try the windows
distrobutions
- Original Message -
From: "Tony Gettig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 7:49 AM
Subject: [PHP] PHP for NetWare?
Hi there,
Is PHP available for NetWare? I've l
Manual helps
- Original Message -
From: "Daniel Reichenbach" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 5:02 AM
Subject: [PHP] Compiling on Windows
> Hy,
>
> is there any guide available, how to compile the Windows version of
PHP4.0.6
> with al
A Visual Basic and MySQL project. Ouch, not exactly made to work together.
Plus Commercial + Open source, although that doesn't mean much. Really if
you make them work together, I'd LOVE to know how. VB is one of my best real
App programs. Next to C++ of course =)
- Original Message -
From
Try the LIKE wording in your statement. That should workI think
- Original Message -
From: <[EMAIL PROTECTED]>
To: "PHP Mailingliste" <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 1979 12:48 PM
Subject: [PHP] writing a query that returns similar numbers
> I have a database with numbe
a executable version of PHP? If
so,
> it could feasibly run on NetWare.
>
> The Netscape Enterprise server for NetWare supports ASP, which is not
> preferable to PHP. I'd really like to stick with PHP.
>
>
> Tony Gettig
> Network Administrator
> Kalamazoo Public School
On the same subject, can I make it automatically addslahes to my variables?
Or should I just make my own mysql class?
- Original Message -
From: "Matthew Loff" <[EMAIL PROTECTED]>
To: "'Mike Mike'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 3:29 PM
Subject: RE:
If you use Header after ANY page output, even a space, it will not work
- Original Message -
From: "Brad Wright" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 10:25 PM
Subject: Re: [PHP] Re: changing to a different file in browser
tried it,
You mean I'm not here?
- Original Message -
From: "Don Read" <[EMAIL PROTECTED]>
To: "McShen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 2:32 AM
Subject: RE: [PHP] testing
>
> On 06-Jul-01 McShen wrote:
> > where are u guys?
>
> I'm sorry, I've gone insane, p
"profiles"?
- Original Message -
From: "Mike Gifford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 2:06 AM
Subject: [PHP] Bibliography & Profiles Directory - Looking for Existing GPL
Apps
> Hello,
>
> I'm looking to see if someone out there has already develope
Question?
- Original Message -
From: "Peter Mead" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 9:52 AM
Subject: [PHP] -help
> -help
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional comman
Ahh, dunno about that at all
- Original Message -
From: "Mike Gifford" <[EMAIL PROTECTED]>
To: "Chris Anderson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 9:41 AM
Subject: Re: [PHP] Bibliography & Profiles Directory
no, go away
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 9:18 AM
Subject: [PHP] Re : Recommendation for - FREE Yellow Page entry
> Hi,
>
> Reference : May we have your permission ?
>
> A visitor to one of our 60 Topical sites has reco
I don't see anything wrong with the code. Does this work:
- Original Message -
From: "James Bartlett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 2:15 PM
Subject: [PHP] Problem writting to file...
Hi,
I'm trying to write data to a file but for some reason i
here may be why:
//Right here you grab a row
$query_data = mysql_fetch_row($result);
//but you don't use it and you move on
while($query_data = mysql_fetch_array($result)) {
- Original Message -
From: "Rory O'Connor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 20
I know this has been discussed before, but I've searched the manual and didn't see it
under Variable functions, or any of my searches.
I have varible $temp, how can I create a variable whose name is the string stored in
$temp? Thanks in advance
.
> they're much nicer to deal with ;)
>
>
> > -Original Message-
> > From: James Atkinson [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, July 06, 2001 4:20 PM
> > To: Chris Anderson; [EMAIL PROTECTED]
> > Subject: RE: [PHP] Creating a Variable with the Name of a s
I was playing around trying to find a way to addslashes() to all my variables, and I
came up with this snippet. Hope it helps someone
$keys = array_keys($HTTP_POST_VARS);
$post_size = sizeof($keys);
for($x = 0; $x < $post_size; $x++)
{
$temp = $keys[$x];
//you can replace addslashes with w
$HTTP_POST_VARS)) {
> ${$key} = addslashes($val);
> }
>
> - Russ
>
> -----Original Message-
> From: Chris Anderson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 06, 2001 3:07 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] How to apply something to every variable
>
>
Put the variables in the url ie:
script.php?username=joebob&password=joepassword
- Original Message -
From: "SED" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 6:30 PM
Subject: [PHP] Post a form within a running php-script
> For a special purpose I want to post
I need to give a link to a file in a previous directory, but HTML doesn't understand
../ links. Any idea how I can do this?
Yes, replace spaces with + signs
- Original Message -
From: "SED" <[EMAIL PROTECTED]>
To: "'Chris Anderson'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 7:24 PM
Subject: RE: [PHP] Post a form within a running php-scr
Don't say "steal", say "learn from"
: )
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Joe Smith" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, July 07, 1979 2:44 AM
Subject: Re: [PHP] Real Estate Catalog
> on 7/7/01 2:43 AM, Joe Smith at [EMAIL PROTECTED] wrote:
>
> > I
So how is that weird?
- Original Message -
From: "David OBrien" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 2:02 PM
Subject: [PHP] Something weird
> I just installed a fresh RH 7.1 server with compiled apache and php 4.0.6
>
>
> --
> PHP General Mailing Li
I created a MySQL dump file (.sql) and I wanted to use it to restore my database.
Unfortunately the manual (MySQL) only shows the command line method:
mysql database < file.sql
I tried this in PHP and it didn't work. Does anyone know how to load the .sql file
into the database through PH
Try looking for BladeEnc. It is a freeware encoding dll/runtime that works
in windows and unix and is completely command line
- Original Message -
From: "Tom Carter" <[EMAIL PROTECTED]>
To: "Michel 'ZioBudda' Morelli" <[EMAIL PROTECTED]>; "Micha Ober"
<[EMAIL PROTECTED]>
Cc: "php" <[EMAIL
Actually this does work:
//First_File.php
//Second_File.php
//Active file
That would produce the output of :
I am the test variable
An include or require just places the files' contents at the line you
include it. So after the includes(requires) my parsed code was:
Hope this helps
every variable
> Hi Chris!
> On Fri, 06 Jul 2001, Chris Anderson wrote:
>
> > I was playing around trying to find a way to addslashes() to all my
> > variables, and I came up with this snippet. Hope it helps someone
> >
> why don't you turn on magic_quotes_g
1 - 100 of 121 matches
Mail list logo