at a guess would say have something to do with the line in ur server
config ... eg in apache the httpd.conf file ... and where you tell it
what to run thru the php engine
Teren Sapp wrote:
Hi, I had it setup on my server before i reloaded it, but what i need to have happen is so that when i'm pa
> Is it feasible to have a php form update two different MySQL DB's at
the
> same time, with all info going to one DB, and just certain info going
to
> the second?
Yes... make your connection, select the first database, do your insert,
select the second database, and do your final insert. Isn't ro
It looks sorted to me. You get message 12, 23, and then 25. How exactly
do you want it to look?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Haseeb Iqbal [mailto:[EMAIL PROTECTED]
Hello,
read this:
http://php.benscom.com/manual/en/security.hiding.php
:)
cheers,
- Sebastian
- Original Message -
From: "Teren Sapp" <[EMAIL PROTECTED]>
Hi, I had it setup on my server before i reloaded it, but what i need to
have happen is so that when i'm passing variables to a php
hi
I'm trying to write a simple MySQL query in a php function so that I can
just call it and pass arguments, but I'm missing something :o(
there are 2 files, index.php and common.php, commom.php contains all the
functions, and is included at the beginning of index.php
the first function called i
Today, we released another bug fix for the Phorum 3.4 branch, version 3.4.2.
Among other things, it fixes a Cross Site Scripting Vunerability. Here is
the changelog:
Phorum 3.4.2 Changelog
More Postgres fixes. (tomaz)
better date formatt
Jay Mitchell wrote:
I need to know if there is a way to send output to a users local printer
using a browser accessed database.
Will php3 do this? IfSo how?
Thanks in dvance
Jay
http://www.php.net/manual/en/ref.printer.php
I believe that you can find something usefull there.
--
PHP General Mailing
Chris Sano wrote:
How would I go outputting my PHP file as a text file -- for example, I have
a set of scripts that I plan to release to the public and would like to make
this script viewable through PHP without having to call a text file. I know
I have seen this somewhere and I'm wondering if any
You need to call it such as:
$variable = query("field","table");
Where $variable is an arbitrary name and is what you'd later use in the
mysql_fetch_*() functions...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> --
this is funny , you could have any extension u like say , i'm a synth freak ,
i luv the word "303" so on some of my musik pages i have pages called
something.303
so
AddType application/x-httpd-php .303 :D
>= Original Message From "Sebastian" <[EMAIL PROTECTED]> =
>Hello,
>
>read this:
>
Has anyone had issues with their php scripts not
working after upgrading php from 3 to 4.3?
I have simple page that inserts data into mysql db.
The scripts worked fine until after the upgrade.
Below is one of my php scripts. When I hit submit, nothing is added
to the db :(
Add
Record
/
http://www.php.net/manual/en/language.variables.scope.php
http://www.php.net/manual/en/language.variables.external.php
Before PHP 4.2.0 the default value for register_globals was on. And, in
PHP 3 it was always on. The PHP community is encouraging all to not rely
on this directive as it's prefer
REGISTER_GLOBALS, REGISTER_GLOBALS, REGISTER_GLOBALS
Do you always upgrade your programs without reading anything about the
changes in the new version If so, I have a new version of that I'd like you to load on your computers. Please
contact me off-line...
---John W. Holmes...
PHP Archi
yeah pretty cool,
there are no limits on what you can do.
cheers,
- Sebastian
- Original Message -
From: "daniel" <[EMAIL PROTECTED]>
| this is funny , you could have any extension u like say , i'm a synth
freak ,
| i luv the word "303" so on some of my musik pages i have pages called
|
I want to POST data to a server and get back an immediate response.
Independently, I want the action to cause the server to submit its own POST
request to another server. I do not want the original POST to block while
waiting for the second POST to complete.
I recently read an article [1] that sa
I have a problem with my php.
I have a form and in that form there is an image submit button. When I
click on it, it won't tell me if the submit button is clicked.
It works fine with a normal one.
sample:
If I use This works finedo I need to do
something e
http://www.php.net/manual/en/language.variables.external.php
This creates variables $_GET['sub_x'] and $_GET['sub_y'] containing the
X/Y cordinate where the button was clicked (assuming it was GET method
form submission)
John
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~
ok, sorry I'm a newb...what do I do with that info? I saw that page, but it
makes no sense to me
Thomas
"John Coggeshall" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> http://www.php.net/manual/en/language.variables.external.php
>
>
>
> This creates variables $_GET['sub_x'] a
Well you can ignore it if you don't need the X/Y cord... But you can use
it to make sure the button was clicked:
If(!$_GET['sub_x'] || !_GET['sub_y']) {
// display form
} else {
// it was submitted
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Cogges
AwesomeThank you so much.
Cheers.
Thomas
"John Coggeshall" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Well you can ignore it if you don't need the X/Y cord... But you can use
> it to make sure the button was clicked:
>
> If(!$_GET['sub_x'] || !_GET['sub_y']) {
> // disp
We subscribe to a few email lists on various languages.
This list would have to be the worst for anyone learning
- the amount of sarcasm and flaming that goes on is huge.
Just try and remember - everyone has to learn,
if you feel a question is off topic or stupid - ignore it,
theres no need to
Hi,
I can't believe I've never bothered to learn this stuff, so I apologise for
being totally dumb in advance :P
phpinfo() tells me my php.ini is being read from /usr/local/lib, however,
there's definitely NOT a php.ini file there.
So, I went hunting and found this on
http://www.php.net/manual/e
for a list that is not moderated i think it's doing quite well.
this isn't a service so you get what you pay for ;)
cheers,
- Sebastian
- Original Message -
From: <[EMAIL PROTECTED]>
| We subscribe to a few email lists on various languages.
|
| This list would have to be the worst fo
at the bash prompt type "where is php.ini"
and it will tell you exactly where it's at.
cheers,
- Sebastian
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
| Hi,
|
| I can't believe I've never bothered to learn this stuff, so I apologise
for
| being totally dumb in advance
It's not people who don't know everything I have a problem. It's people
who ask questions when the answer is right in front of their nose.
[EMAIL PROTECTED] wrote:
We subscribe to a few email lists on various languages.
This list would have to be the worst for anyone learning
- the amount of
It's using default settings. You'll have to recompile PHP to change
where it looks for php.ini, or you can move your php.ini file into that
location.
Justin French wrote:
Hi,
I can't believe I've never bothered to learn this stuff, so I apologise for
being totally dumb in advance :P
phpinfo()
Ok, that's what I figured!
Thanks!
Justin
on 03/04/03 2:43 PM, Leif K-Brooks ([EMAIL PROTECTED]) wrote:
> It's using default settings. You'll have to recompile PHP to change
> where it looks for php.ini, or you can move your php.ini file into that
> location.
>
> Justin French wrote:
>
>> H
This one time, at band camp,
<[EMAIL PROTECTED]> wrote:
> We subscribe to a few email lists on various languages.
>
> This list would have to be the worst for anyone learning
> - the amount of sarcasm and flaming that goes on is huge.
fu2
--
__
(_ \
How does one delete an object? For example:
$object = new Class(...);
.
$object = new Class(...);
I want to throw away the old object and create a new, freshly
initialized one using the same variable. Is the above adequate or will
this orphan the first object? If
Actually this list has maintained a high level of professionalism
compared to many other lists I'm a member of, join a VB or any other
support list for a MS product and you'll see what I mean. Only within
the last few days have I seen the list (or members of the list) fail to
uphold its status. I
On Thursday 03 April 2003 11:14, [EMAIL PROTECTED] wrote:
> We subscribe to a few email lists on various languages.
>
> This list would have to be the worst for anyone learning
> - the amount of sarcasm and flaming that goes on is huge.
Try subscribing to the qmail list for a day or two.
> Just
On Wednesday 02 April 2003 04:19, Michael Arena wrote:
> the only difference in the server setup is on my remote server it's a RAQ
> and locally i'm using Xitami with PHP. I don't understand why it won't
> send. I get the email over the RAQ but no attachment...
Have you checked that the file actua
Someone recently posted code for this exact topic on phpclasses.org,
follow the link below.
http://phpclasses.mirrors.nyphp.org/browse.html/package/1018.html
Matt
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2003 5:58 AM
> To: [EMA
That will work perfectly.
[EMAIL PROTECTED] wrote:
How does one delete an object? For example:
$object = new Class(...);
.
$object = new Class(...);
I want to throw away the old object and create a new, freshly
initialized one using the same variable. Is the above
>How does one delete an object? For example:
>
> $object = new Class(...);
> .
> $object = new Class(...);
PHP deletes any variable which is no longer referenced in memory.. So in
this case the first object that the variable $object pointed to will
automatically be destroie
>> How do applications know how many users are logged into the system?
>For
>> example postnuke will tell you '3 users online, 2 members'.
>Im gussing
>it
>> uses sessions, but how?
Basically it keeps track of the active sessions for the total user #,
and then determines how many of those session
Not exactly true. unset() destroys the reference to the value, not the
value itself. For instance,
error_reporting(E_ALL);
$var1 = "foo";
$var2 = &$var1;
print "$var1\n$var2\n\n";
unset($var1);
print "$var1\n$var2";
will output:
foo
foo
Notice: Undefined variable: var1 in PHPDocument1 on li
yes, that's what I meant :) sorry if I was unclear... if any references
to a given variable still exist then the variable is not destroied in
memory.
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 12:55 AM
To: John Coggeshall
Cc: [EMAIL
Keeping track of the last time each username / IP address has viewed a
page, and assuming that any user who was seen less than 5 minutes (or
so) ago is online.
[EMAIL PROTECTED] wrote:
How do applications know how many users are logged into the system? For
example postnuke will tell you '3 user
My two cents,
I`ve been on the list a month now and I think it`s really cool that
this type of thing exists.
I`m new to PHP, read all the posts that come through, and 98% of the
time don`t have a clue what is being spoken about, so the flaming and
other comments provide a welcome relief from my
Hi,
I'd have to agree with the original poster on this topic - I've been on
this list for about 3 years now, at times it is helpful - and then there's
every other day.
Granted, there are guru's out there that know all there is to know about
PHP, and then there's the new kid that has no idea wh
On Thu, 3 Apr 2003, Justin French wrote:
> Hi,
>
> I can't believe I've never bothered to learn this stuff, so I apologise for
> being totally dumb in advance :P
>
> phpinfo() tells me my php.ini is being read from /usr/local/lib, however,
> there's definitely NOT a php.ini file there.
That faq
Hi all,
Can I just have a quick head check on magic quotes runtime (&gpc)?
I have them both set to Off currently, and my pages work fine. However,
when I set them to on, I end up with slashes throughout the mysql data.
Is this the expected behaviour? Seems counter-intuitive to me, but I've
nev
PHP can run as a script indeed.
#!/usr/bin/php
Do that like you would perl and then make it executable. Should work.
Note that any errors will be chucked back to the terminal in HTML.
On 4/2/2003, "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]> wrote:
>Hi,
>
>This might be a newbie question b
On Thu, 3 Apr 2003, Justin French wrote:
> Hi all,
>
> Can I just have a quick head check on magic quotes runtime (&gpc)?
>
> I have them both set to Off currently, and my pages work fine. However,
> when I set them to on, I end up with slashes throughout the mysql data.
This means you essenti
Read this:
http://www.php.net/features.commandline
> PHP can run as a script indeed.
>
> #!/usr/bin/php
>
> Do that like you would perl and then make it executable. Should work.
Yes, assuming that's the name and location of the
CLI or CGI PHP (and one exists). Typing 'whereis php'
or 'whic
Hello,
I am having a problem with umlauts in utf-8 encoded txt file, which is
being read by my script. Instead of umlauts I get ? or squares or
anything else, but not those umlauts. What is the problem, can anybody
help, please?
Thanks.
ps. I've chosen utf-8, because I have to have Western Eu
Hello,
When magic_quotes_gpc is on, addslashes() will be automatically applied on
all data from GET, POST, COOKIES by PHP.
When magic_quotes_runtime is on, addslashes() will be automatically applied
on all data collected form database (ex: when you execute a SELECT
statement). Therefore when ma
101 - 148 of 148 matches
Mail list logo