Freedomware wrote:
Ryan A wrote:
"It installed pretty easy and the guy who makes it is real cool
and will help you via the forum. Also options to run other things like
PERL"
Thanks for the tip. You raised one other question I have - PERL.
I know nothing about it, but I just wondered how it
Hello,
I'm wondering if anyone can help me or point me in the right direction
regarding how I can write to an XML file.
I'm new to PHP - I've just figured out how to basically write data to a
text file.
What I want to do is have a user submit data (email address & a question)
via a form that is
try mozilla & livehttpheaders from http://livehttpheaders.mozdev.org
Scott Taylor wrote:
What is the easiest way to view the headers that a PHP page has put
--
Mirek Novak
jabberID: [EMAIL PROTECTED]
ICQ: 119499448
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
OK, here are three more questions:
1. I visited Apache's download page at
http://httpd.apache.org/download.cgi It says the best version to
download is 2.0.48.
Then it lists the following:
Unix Source: httpd-2.0.48.tar.gz [PGP] [MD5]
Unix Source: httpd-2.0.48.tar.Z [PGP] [MD5]
Win32 Source: ht
Hello everybody,
I am working on translating my site into multiple languages (i18n). Each
different language is hosted on the same server, but on a different
subdomain.
example:
de.server.com - german
en.server.com - english
Here comes the problem. Sessions are validated through coockies on my
Scratch the first two questions - I figured out the MIS Installer and
downloaded it, and it looks like the IIS server isn't installed on my
computer.
But a couple other questions popped up when I began installing Apache:
What do I type in for "Network Domain" and "Server Name"?
I have over a d
- Original Message -
From: "Merlin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 3:56 AM
Subject: [PHP] Making coockies valid for multiple domains possible?
> Hello everybody,
>
> I am working on translating my site into multiple languages (i18n). Each
> di
"Merlin" <[EMAIL PROTECTED]> píse v diskusním príspevku
news:[EMAIL PROTECTED]
> Hello everybody,
>
> I am working on translating my site into multiple languages (i18n). Each
> different language is hosted on the same server, but on a different
> subdomain.
>
> example:
> de.server.com - german
> e
> Someone correct me if I'm wrong, but if you set this in your php.ini or
with
> session_set_cookie_params() to server.com, it's valid across any sub
> domains, whereas if you set it to de.server.com, it would only be valid in
> the de.server.com sub domain.
>
> Or possibly try *server.com. I havn'
Hello Tim,
Monday, January 12, 2004, 7:20:07 AM, you wrote:
TB> I'm new to PHP - I've just figured out how to basically write data to a
TB> text file.
TB> What I want to do is have a user submit data (email address & a question)
TB> via a form that is written to the xml file, then have a suppor
Well, server name is your main domain... Network domain... Hmm... Not sure
if that's where you enter your IP or your top-level domain...
Try network domain: geobop.org, servername: www.geobop.org... The installer
is just confusing really.. It's much easier to just open httpd.conf in
notepad.. It's
Dvdmandt wrote:
If you got dozens domains, mod_l33t is highly recommended, but it's only for
Apache 1.3 which I use under both Me, 2k and XP btw... Apache 2.0 just cause
problems with PHP... Well, I haven't really confirmed it yet, but if you
read on the php.net manual page, you'll see it's not re
Nothing wrong with having 3 versions of Apache 1.3 and 5 or so of Apache 2..
.:) I got PHP4.3.4, 3.0.17, 5.0RC1-dev, at least 5 different perl versions,
two versions of TCL, same with python, I got Apache modules for all of these
as well... Sure isn't nessecary, but I'm sure learning lots from it..
Also, I feel like I wanna tell yo some about myself, so you don't make your
descissions cause of me.. I'm 14 years old, live in sweden, learning
programming in C right now (made my first PHP module a week ago.. :)) I also
play around some with Apache 1.3 Api... I've been using PHP since 4.1.. I've
Dvdmandt wrote:
Also, I feel like I wanna tell yo some about myself, so you don't make your
descissions cause of me.. I'm 14 years old, live in sweden, learning
programming in C right now (made my first PHP module a week ago.. :)) I also
play around some with Apache 1.3 Api... I've been using PHP
Swedish, English, and in few hours I'm gonna have french as well...
Although, my primary language would still be PHP... :s Sweden is a really
nice place really.. :)
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Freedomware" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL
You know, I've been struggling with this probelm fr ages, and wouldn't you
know it, I really over complicated things..
using this simple header method, I've done it...
Cheers for the heads up...
It pays to read eh? ;-)
Tris..
Marek Kilimajer <[EMAIL PROTECTED]>
10/01/2004 13:22
To
Binay <
Binay wrote:
+
How to create web archvie which will be mime encoded file and then saving as
excel file .. plz direct me to the resources where i can find more
information about it .. or tell me how can i proceed to it.
Thanks
+
Web archive is
greetings
Would you tell us how to create a script to read these files, extract their
contents and create temporary PNG/JPG/GIF files on the fly ??
in this case we can (as u said) store the pictures content in the mysql and
output them when we like
Regards
<[EMAIL PROTECTED]> wrote in message
new
My operating system is Windows XP Pro. I was advised to download Apache
1.3 if I want to work with PHP, so I went to
http://httpd.apache.org/download.cgi and found the Apache 1.3 download
section.
It offered the following choices:
* Unix Source: apache_1.3.29.tar.gz [PGP] [MD5]
Hello,
Monday, January 12, 2004, 10:58:56 AM, you wrote:
F> Why doesn't it mention Windows XP? Do I need to download another program?
The readme hasn't been updated. XP is a modified 2K/NT core anyway.
It'll work just fine.
--
Best regards,
Richardmailto:[EMAIL PRO
OK, thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, I downloaded Apache and PHP, installed Apache, and was had a bunch
of questions to ask - until I tested Apache and discovered it's already
working!
I go into Start Programs, then click Control Apache Server > Start, and
the little black window opens. I click to close it.
But before I wa
P.S. Should I go ahead and install PHP, or should I wait until I'm able
to preview pages on my new Apache server?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
It works. I decided to add .html to the list of extensions that will be
opend by php if asked for in apache. I understand here that it will take
more time before html files are processed? True?
Thanks all, Nico Berg
> -Oorspronkelijk bericht-
> Van: Nico Berg [mailto:[EMAIL PROTECTED
Hello,
please can somebody help me. I am going nuts.
Really I am close to totally freaking out.
I have a problem that seems minor and ridiculous but cost me already 3
working days.
I have a working php/mysql homepage and used to use Ommnihttpd until 3 days
ago.
I installed the latest versions of
[snip]
I have 4.3.5-dev (Build Dec-22-2003) installed on a W2K Dell Inspiron
7500
and I am getting an error which I don't get with 4.1.1 and 4.3.4. Would
like
to learn how to debug things like that. Here is a dump of Dr. Watson:
[/snip]
You will probably want to send this to the PHP developers lis
[snip]
please can somebody help me. I am going nuts.
Really I am close to totally freaking out.
[/snip]
Sorry to hear that
[snip]
In the file page_dentona.class.php the first line says the following:
require_once('../design/page.class.php');
The following error message comes up:
Warning: main
I'm running Windows XP Pro and just installed Apache 1.3. It appears to
be running, so I guess I'm ready to install PHP.
I visited http://snaps.php.net and downloaded the latest PHP program -
CVS (5.0.x-dev). I'm reading the installation instructions at
http://cvs.php.net/co.php/php-src/win32/i
Jay Blanchard wrote:
[snip]
please can somebody help me. I am going nuts.
Really I am close to totally freaking out.
[/snip]
Sorry to hear that
[snip]
In the file page_dentona.class.php the first line says the following:
require_once('../design/page.class.php');
The following error message comes
Freedomware wrote:
I'm running Windows XP Pro and just installed Apache 1.3. It appears to
be running, so I guess I'm ready to install PHP.
I visited http://snaps.php.net and downloaded the latest PHP program -
CVS (5.0.x-dev). I'm reading the installation instructions at
http://cvs.php.net/co.
On 12 January 2004 13:29, Burhan Khalid wrote:
> Jay Blanchard wrote:
>
> > [snip]
> > please can somebody help me. I am going nuts.
> > Really I am close to totally freaking out.
> > [/snip]
> >
> > Sorry to hear that
> >
> > [snip]
> > In the file page_dentona.class.php the first line says th
Hello Tim,
On 12 Jan 2004 at 17:50, Tim Burgan wrote:
> I'm wondering if anyone can help me or point me in the right direction
> regarding how I can write to an XML file.
Writing to an XML file works the same way as writing to any other file: you need to
open
the file with fopen(), append to
Errm... Just unzip the php zip, so that php.exe is located in c:\php (or D:\
or something).. For example C:\php\php.exe... Then, find your Apache config
file in the Apache\conf folder, named httpd.conf.. Open it, scroll down to
the bottom, then add
LoadFile C:/PHP/php5ts.dll
LoadModule C:/PHP/php5
Hi,
I am new to php and doing reasonable well (ok, copying other code and
learning ;-)
I have a field with an URL
The value of this in a variable $launch.
How can I open this URL automatically ??
TIA!!
Bernard
Antwerp, Belgium
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Dvdmandt wrote:
Errm... Just unzip the php zip, so that php.exe is located in c:\php (or D:\
or something).. For example C:\php\php.exe... Then, find your Apache config
file in the Apache\conf folder, named httpd.conf.. Open it, scroll down to
the bottom, then add
LoadFile C:/PHP/php5ts.dll
LoadMod
Hi there...
I keep all my downloads outside of the web folder on my site.
I only allow users to download them by them using the download page, and
changing teh header info when a file is requested..
What I want to do now, is allow the other site users to upload files to
that same directory...
>F
There really should be one named httpd.conf.. Otherwise, that might be the
one named httpd if you have extensions on filenames off (not recommended in
any way)... Also, it should be
LoadModule php5_module C:/PHP/php5Apache.dll
sorry, my misstake.. :)
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail:
Hello Tristan,
Monday, January 12, 2004, 2:30:15 PM, you wrote:
TPrsc> What I want to do now, is allow the other site users to upload files to
TPrsc> that same directory...
TPrsc> From what I'v estudied on line, I can't do this, but I'm not convinced...
TPrsc> Anyone know if this os possible, via
Hello bernard,
Monday, January 12, 2004, 1:47:39 PM, you wrote:
b> I have a field with an URL
b> The value of this in a variable $launch.
b> How can I open this URL automatically ??
PHP itself cannot open a web page, it's a server-side language and
doesn't have any control over the client like
Or with PHP you could do:
Header("Location:$launch");
die;
Make sure that nothing is outputted before this is called though. The
variable $launch should also be an absolute URL.
Neil
Richard Davey wrote:
***
This Email Has Been Virus Swept
**
H... The first installation ended with this message:
"Sorry, the software to automatically configure the Apache httpd.conf
file has not yet been written. You will have to configure Apache
manually. See the install txt file for more details."
It then occurred to me that I forgot to tell you
Dvdmandt wrote:
> Try beta3, or rc1-dev from snaps.php.net, if it works there, it'll work in
> 5.0, currently, it's bugfix only for RC1, and RC1 isn't very far from the
> release, so I really don't think anyting would get changed... Also, seems
> to me like objects and references are kinda the hig
> i had a problem like the one you descriped.
> The problem was quite simple. In my case everything
> worked fine with Windows-Web-Browsers but not with
> MAC-Browsers.
> Check the value of the filetype variable. There might be
> differences between different plattforms.
I'm sorry to sound stupid
On Mon, 12 Jan 2004, Mike R wrote:
> > i had a problem like the one you descriped. The problem was quite
> > simple. In my case everything worked fine with Windows-Web-Browsers
> > but not with MAC-Browsers. Check the value of the filetype variable.
> > There might be differences between different
Webmaster wrote:
Hello,
please can somebody help me. I am going nuts.
Really I am close to totally freaking out.
I have a problem that seems minor and ridiculous but cost me already 3
working days.
I have a working php/mysql homepage and used to use Ommnihttpd until 3 days
ago.
I installed the lat
Hi coders,
I've sent several mails to [EMAIL PROTECTED] regarding the limitations / rights
to use the PHP logo.
But I havent recieved any reply, does anyone know who answers that email?
If so please send him/her an heads up to check his/hers inbox.
Now you might think that I've been sending seve
Hi,
Thanks for the suggestions !
Problem is solved sofar.
But how can I open the link in a new window, I tried (with my limited php
knowlegde) a lot of things, but i'ts not working :-(
Bernard
"Bernard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> I am new to php a
David,
Thanks for your reply however, I have been here before and can only find
others with the same problem, and no resolution
(i.e. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21425)
Still looking for a fix
Trevor
"David Robley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTE
bernard wrote:
Hi,
Thanks for the suggestions !
Problem is solved sofar.
But how can I open the link in a new window, I tried (with my limited php
knowlegde) a lot of things, but i'ts not working :-(
To open the URL in a new window, you MUST use javascript.. You can
output a HTMP page l
Shawn McKenzie wrote:
Maybe a dumb question, but as good coding practice, should all functions
return something even if they don't need to???
Example:
function do_it()
{
echo "hi";
}
--or--
function do_it()
{
return echo "hi";
}
Also, if they do other things but really don't return anythin
http://sk2.php.net/manual/en/function.headers-list.php says:
no version information, might be only in CVS
Scott Taylor wrote:
What is the easiest way to view the headers that a PHP page has put
out? I've seen the |var_dump(headers_list()); on php.net but this
always gives me an error (such as
--- Richard Davey <[EMAIL PROTECTED]> wrote:
> b> How can I open this URL automatically ??
>
> PHP itself cannot open a web page, it's a server-side language and
> doesn't have any control over the client like that.
Well, that's not exactly true if the allow_url_fopen directive is enabled.
You ca
Output this to a new file each time and then use a blind page refresh
via
$output = "
function openpopup(){
var popurl=\"$launch\"
winpops=window.open(popurl,\"\",\"width=400,height=338,toolbar,location,
directories,status,scrollbars,menubar,resizable,\")
}
openpopup()
";
if($file=fopen($pop.h
bernard wrote:
Hi,
Thanks for the suggestions !
Problem is solved sofar.
But how can I open the link in a new window, I tried (with my limited php
knowlegde) a lot of things, but i'ts not working :-(
From the Newbie Guide :
6. PHP is a server side scripting language.
Whatever processing PH
What's the real difference.. We are talking something like 1-2 months I
think... Although, there was thoughts about releasing 5.0 in 2002 as well
IIRC..
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Chris Tenharmsel" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECT
Shawn McKenzie wrote:
> Maybe a dumb question, but as good coding practice, should all functions
> return something even if they don't need to???
>
> Example:
>
> function do_it()
> {
>echo "hi";
> }
>
> --or--
>
> function do_it()
> {
>return echo "hi";
> }
>
> Also, if they do other th
This is NOT good coding practice, ONLY return something from a function / method if it
needs to, otherwise you may get a performance hit.
regards
Jonathan
-Original Message-
From: Mark Cubitt [mailto:[EMAIL PROTECTED]
Sent: 12 January 2004 17:06
To: Shawn McKenzie; [EMAIL PROTECTED]
Subj
Errm.. Ok, don't download the installer.. That'll just bring you more
problems.. :s The easiest way is to just download the *-win32.zip file, and
extract to c:\php, and possibly move all files cause the extraction proggy
might place them in C:\php\php-4.3.4... when you want them in C:\php... Now,
i
Hi,
How would I go about determining if a specific key exists in an array?
I want to see if $conf['hOpt'] is defined. is_array only works at the $conf
level.
I tried count(array_keys($conf, 'hOpt')), but always get 0.
What am I doing wrong here?
Thanks,
Cameron
--
PHP General Mailing List (
Cameron B. Prince wrote:
Hi,
How would I go about determining if a specific key exists in an array?
I want to see if $conf['hOpt'] is defined. is_array only works at the $conf
level.
You want:
if(isset($conf['hOpt'])) {
...
}
You should always use isset to check if a variable is set, whether it
Cameron B. Prince wrote:
How would I go about determining if a specific key exists in an array?
http://php.net/isset
I want to see if $conf['hOpt'] is defined. is_array only works at the $conf
level.
I tried count(array_keys($conf, 'hOpt')), but always get 0.
if (isset($conf['h0pt']))
--
Stuart
-
I just ran across this syntax in someone else's code.
I can't detect any difference between these two expressions:
_("String value") and "String value"
Is there a difference? What does _("xyz") do, and is it documented
anywhere? I'm curious why this code (SquirrelMail) uses it in one place,
but n
The facts is that EVERY html (php embeded or not) will be processed by PHP,
which is totally unnecesary and a waste of time.
The best practice is to append the .php extension to your php files. If your
your working for production you must consider that your host provider won't
agree to put his ser
Hello Chris,
Monday, January 12, 2004, 5:00:16 PM, you wrote:
>> PHP itself cannot open a web page, it's a server-side language and
>> doesn't have any control over the client like that.
CS> Well, that's not exactly true if the allow_url_fopen directive is enabled.
CS> You can open Web pages jus
It's an alias to this function:
http://sk2.php.net/manual/en/function.gettext.php
Kelly Hallman wrote:
I just ran across this syntax in someone else's code.
I can't detect any difference between these two expressions:
_("String value") and "String value"
Is there a difference? What does _("xyz"
This is the equivalent to the function gettext
http://ca3.php.net/manual/en/function.gettext.php
Yann Larrivee
http://conf.phpquebec.com
http://protonicdesign.com
On Mon, 2004-01-12 at 12:42, Kelly Hallman wrote:
> I just ran across this syntax in someone else's code.
> I can't detect any differ
Dvdmandt wrote:
> What's the real difference.. We are talking something like 1-2 months I
> think... Although, there was thoughts about releasing 5.0 in 2002 as well
> IIRC..
>
Well, we're interested in stability. I figured since php4 had been out for
a while in "stable" form, it would be more
I've been using mozilla firebird as a test browser with the 'Live HTTP
Headers' extension. I've found it most useful.
http://texturizer.net/firebird/extensions/#livehttpheaders
> -Original Message-
> From: Scott Taylor [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 11, 2004 9:34 PM
>
Hello Ivo,
Monday, January 12, 2004, 6:41:49 PM, you wrote:
IP> I've been using mozilla firebird as a test browser with the 'Live HTTP
IP> Headers' extension. I've found it most useful.
It's not free, but I use "HTTP Interceptor" for Windows which is
extremely good.
--
Best regards,
Richard
--- Richard Davey <[EMAIL PROTECTED]> wrote:
> CS> You can open Web pages just like local files:
> CS>
> CS> $handle = fopen('http://www.example.com/', 'r');
>
> Depends on your meaning of the word "open" though doesn't it? :)
That's true. I see now from everyone else's answers that the majority
i have a script that checks an email account and records information into a
database and want to call it when ever an email hits that account. My ISP
uses merak mail server and i see it has an excutables section, so i was
hoping to fire my php page whenever an email goes to the account. the
probl
Ok,
This is probably a basic question, I am just looking for opinions and
examples as to the best way to handle this...
I cycling through a query and displaying results to the user such as ...
usernamecan add can delete
eddieY N
frank
Hi Haydar
I had this problem a lot of times before, and i can tel you that you cannot
execute a header call and a echo call
header(sprintf("Location: %s", $insertGoTo));
> >*here is the error
> > > exit();
}
> > > ob_get_contents() ;
> > >
>
>*
> On Mon, 12 Jan 2004, Mike R wrote:
> > > i had a problem like the one you descriped. The problem was quite
> > > simple. In my case everything worked fine with Windows-Web-Browsers
> > > but not with MAC-Browsers. Check the value of the filetype variable.
> > > There might be differences betwe
Try adapting like this:
foreach ($_POST as $key => $val){
#display each item from submitted form
print "$key: $val";
}
Shawn
Easy solution: Use wget.
http://unxutils.sourceforge.net/
If you're not familiar with wget, you can Google or e-mail me. Basically,
a command of:
wget www.yahoo.com
results in an HTTP request to Yahoo and you will find an index.html in the
directory from which you ran the command. In your case
I need to query for record within a certain date stamp. The
datetime field contains the createdon information that i need and is in
the following format: 2004-01-11 21:40:50
What I'd like to do is search for records that are between
2004-01-09 and 2004-01-04. The time is to be ignored,
Hello Ashley,
Monday, January 12, 2004, 8:21:01 PM, you wrote:
AMK> What I'd like to do is search for records that are between
AMK> 2004-01-09 and 2004-01-04. The time is to be ignored, just the date is
AMK> what I need to search by. Is there a way to do this within an sql
AMK> query, or do
RD> SELECT whatever FROM table WHERE date_column_name BETWEEN '2004-01-09
RD> 00:00:00' AND '2004-01-04 23:59:59'
Actually sorry, inverse the seconds (put the 00:00:00 onto the lower
date, the 4th) so it encompasses the whole period. You might actually
be able to not even include the seconds, try
From: "Ashley M. Kirchner" <[EMAIL PROTECTED]>
> I need to query for record within a certain date stamp. The
> datetime field contains the createdon information that i need and is in
> the following format: 2004-01-11 21:40:50
>
> What I'd like to do is search for records that are betwee
From: "Richard Davey" <[EMAIL PROTECTED]>
> RD> SELECT whatever FROM table WHERE date_column_name BETWEEN '2004-01-09
> RD> 00:00:00' AND '2004-01-04 23:59:59'
>
> Actually sorry, inverse the seconds (put the 00:00:00 onto the lower
> date, the 4th) so it encompasses the whole period. You might a
Richard Davey wrote:
RD> SELECT whatever FROM table WHERE date_column_name BETWEEN '2004-01-09
RD> 00:00:00' AND '2004-01-04 23:59:59'
Actually sorry, inverse the seconds (put the 00:00:00 onto the lower
date, the 4th) so it encompasses the whole period. You might actually
be able to not even incl
I was able to install Apache fairly easily, and it appears to be
working, but PHP is way over my head. So I downloaded a preconfigured
package called XAMPP, from http://www.apachefriends.org/xampp-en.html
The specs say it includes Apache 2.0.48, which I was told is not good
for working with PHP
From: "Ashley M. Kirchner" <[EMAIL PROTECTED]>
> >RD> SELECT whatever FROM table WHERE date_column_name BETWEEN '2004-01-09
> >RD> 00:00:00' AND '2004-01-04 23:59:59'
> >
> >Actually sorry, inverse the seconds (put the 00:00:00 onto the lower
> >date, the 4th) so it encompasses the whole period. Y
Edward Peloke wrote:
Ok,
This is probably a basic question, I am just looking for opinions and
examples as to the best way to handle this...
I cycling through a query and displaying results to the user such as ...
usernamecan add can delete
eddieY
Thanks Shawn,
That works great, I am messing myself up, however because I am using
checkboxes so when I run this, if I have unchecked the checkbox, the value
doesn't come through and I want an unchecked box to be 0 for example so I
may need some javascript...
Thanks,
Eddie
-Original Message-
Hi,
I am getting some variable from another program an the main problem is its
coming mixed...
eg:
some get and some post
So far I have coded this with register globals on because I didnt know which
way it was coming..
now i want to do it with globals off...
After going through the manual trying
[snip]
That works great, I am messing myself up, however because I am using
checkboxes so when I run this, if I have unchecked the checkbox, the
value
doesn't come through and I want an unchecked box to be 0 for example so
I
may need some javascript...
[/snip]
Can only one option be checked per us
From: "Ryan A" <[EMAIL PROTECTED]>
> After going through the manual trying to find an answer I came accross
> $_REQUEST, is this a good
> solution? because I have never used this before or is this as bad as
having
> globals on?
The only simularity it has to register_globals ON is that you don't k
Cool.
Thanks John.
-Ryan
> The only simularity it has to register_globals ON is that you
> don't know
> what method provided the value. It could be POST, GET, or COOKIE.
>
> But... if you're
> validating the data properly anyhow, it really
> shouldn't
> matter where it's coming from. I use $_REQ
The way I deal with this is one of two ways. An easy way is to populate
hidden fields in the page with the indexes of the users, thwn loop
through those, checking the indexes of the arrays sent back.
User 5
User 7
Another is to loop through, say, records from the DB and use their IDs
for th
Something I have never tried... seems fairly straight-forward but I am
running into problems.
My problem is that I need to call system to restart a daemon service
like so...
$cmd = "/path/to/shell/script/script.sh";
system($cmd . " &> /tmp/error ");
?>
Script contains this command...
#!/bin/ba
- Original Message -
From: "Matt Matijevich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 4:18 PM
Subject: RE: [PHP] to array or not to array..
> [snip]
> That works great, I am messing myself up, however because I am using
> checkboxes
hi there.
i am working out the finishing touches on a authentication class that
uses mysql to store the time of last access and some other goodies.
my question is, when developing a class that uses a database, what is
the best way to handle the database bit? for now i just set the
connection i
- Original Message -
From: "Jas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 4:47 PM
Subject: [PHP] permissions with bash scripts in php?
> Something I have never tried... seems fairly straight-forward but I am
> running into problems.
>
> My problem is th
Take a look at the PEAR DB Abstraction layer, I usually store connection
info in an XML or INI file and use parse_ini or PEAR Config to parse the
configuration file. http://pear.php.net
> hi there.
>
> i am working out the finishing touches on a authentication class that
> uses mysql to store the
Jake McHenry wrote:
- Original Message -
From: "Jas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 4:47 PM
Subject: [PHP] permissions with bash scripts in php?
Something I have never tried... seems fairly straight-forward but I am
running into problems.
My p
Jason Sheets wrote:
Take a look at the PEAR DB Abstraction layer, I usually store connection
info in an XML or INI file and use parse_ini or PEAR Config to parse the
configuration file. http://pear.php.net
hi there.
i am working out the finishing touches on a authentication class that
uses mysq
If you're going to the trouble of making an authentication class, you should
consider also using a database connection class, and modifying your
authentication class to make use of it. You might want to roll your own,
although there are numerous classes that already exist.
As for "portability"
1 - 100 of 124 matches
Mail list logo