Hi Guys,
When naming classes and function's within the class(and even
functions(probably more so?)) do you use a common string infront of
everything? For example HM_function_name()
The reason I am asking is because what if you want to easily intergrate a
class/function with lots of other classes
> To me, this seems kind of like a hack -- i.e. there should be a better
> way to do this, perhaps as part of a (free or low-cost) shopping cart
> and payment prcoessing system. Also, there seems to be no way to test
> this without sending the Paypal user money. (I am going to contact
> Paypal
p.s this script came from:
// PHP Spider Trapper
// Copyright 2000 MassTraffic.com
// Unlimted Usage Granted By _Owner_
// You May Use the Program For Free
// Under the CAREWARE liceanse.
// Which states that you may use
// the product for free as long
// as you are happy and take care
// of ea
Hello,
I have a customer who wants to implement Paypal instant payment notification
on his website. Basically, he wants a script that emails a custom message
once a customer purchases an item. Instant Payment Notification has the
ability to do this.
However, I have a couple of questions:
-- Is
Hi,
I am running PHP 4.06 on Windows 2000 with IIS 5. I am running PHP in CGI mode.
I seem to be getting "CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP
headers. The headers it did return are:
"
Why is this error happening ? Please dont ask me to sh
try this...
Image width:
Image height:
hope that's what you meant.
Twigman...
On Thu, 9 Aug 2001, Mark Lo wrote:
> Hi,
>
> I would like to know ..is it possible to let my client resize the
> picture from the browser instead of having a defau
Hi,
I would like to know ..is it possible to let my client resize the
picture from the browser instead of having a default height and width. If
yes, can you give me some idea of how to do it.
Thanks
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Check this out -> http://php4win.de/
SED
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 8. ágúst 2001 21:46
To: [EMAIL PROTECTED]
Subject: [PHP] [PHP-WIN] Binary GD Library for W2K
Hi All, some partner in the world has the GD binaries ?, please don't
dou
View your Apache logs after doing these mods, just in case the database has
died after your testing that worked:
It's also good to have these lines stay in there so you can debug later...
> mysql_connect("localhost","user","pass");
... or error_log(0, "Could not connect to database in " . __F
Use / instead of \, or try \\ or...
Also show us the full line for your include_path, not just the value.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://
Since nobody has responded, I'd suggest http://bugs.php.net is your next
step.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
If I hit reload and re-post the same data, you'll need to detect that
somehow...
Put a unique HIDDEN variable in your FORM, log it to the database when you
see it, and if you see it a second time, don't increment $Stage.
The other possiblity is to use:
>
Any reload will simply pass back the sa
Check that you still have register_globals on/off in php.ini as before, and
that your GPC ordering is the same.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: h
> Or, you could do two steps
>
> 1) retrieve the last inserted ID, with mysql_last_inserted_ID (or
> something like that).
>
> 2) then, all records with id(s) greater then the_last_id_number minus
> five.
>
> something like
>
> $most_recent = select mysql_last_id();
>
> select * from TA
> We have do the following :
> % vadduser
>
> user Configuration
> --
> Username: test
> Password: test
> Fullname: test
> UID:35647
> Groups: test
> Home Dir: /ftp/test
>
> % dir
> drwxrwxr-x c myname vkernel512 AUG 5 11:27 test
>
>
> session_start();
> while ( list($name,$value) = each($HTTP_POST_VARS)) {
> if (is_array($value)) {
> for($x=0;$x session_register('$name');
No. This will register a variable whose name is literally '$name' over and
over, which (A) is not what you want and (B) $name isn'
> struct BACACHE
>
> char author[300][100];
> int top;
> time_t uptime;
> time_t touchtime;
> int busystate;
> };
>
> is there any way to get these data into PHP with certain variable type ?
>
> I've tried to use " unpack() " function, but I found that unpack() can't
> unpack a char array ( I mea
> I am having trouble with the following function working _with_
> sessions. If I turn off my session checking function it enables you to
> download the file flawlessly, if sessions are turned on then Internet
> Explorer displays an error:
Not sure what is going on, but try viewing the output of
Don't set them to empty at the bottom of the file. Do it right after the
INSERT to the database, and put the FORM below that.
An unfair restaurant-recommendation script:
\n";
}
else{
$name = '';
}
?>
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Us
&y=>
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: Ardani Sarjito <[EMAIL PROTECTED]>
New
If they didn't click on the submit button, then they didn't click on the
submit button, and it's not "set" by the browser.
Check if the variable you care about inserting is set instead.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Lik
Here:
http://hotwired.lycos.com/webmonkey/00/05/index2a.html?tw=programming
--
Julio Nobrega.
2B||!BB - That's the question.
"Chris Kay" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi
>
> My question is that i am about to start a database and i
"Hassan El Forkani" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> indeed it's not working properly,
> first of all please make sur the pages are not cashed send a header
> (Cache-control: NO cache) i'm not sure about the syntax so check the
manual
> then try
Thanks Tim and Daniel.
$PATH_INFO works perfectly. The really nice thing is I can have a form post
to it... Also good call with the base href. I would probably have forgotten
it and just used absolute links.
-Evan Nemerson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-
I can't seem to get my win2000 box to recognize the .php files. It's coming up with an
error, and just reading them as test.php.txt files in explorer. How do i get this to
work. I believe I've set everything up right. Could someone please email me with
answers. Thanks
Mike
ok Thanks dude i'll start there
At 10:01 AM 8/9/01 +1000, Daniel James wrote:
>You are looking for HTTP Authentication...
>http://www.php.net/manual/en/features.http-auth.php
>
>Twigman...
>
>On 2001.08.09 09:49 Chris Kay wrote:
> >
> > Hi
> >
> > My question is that i am about to start
I use CURL... Works beautifully...
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 1:51 PM
To: PHP User Group
Subject: [PHP] Emulating a POST
Hello,
I have used perl to emulate a post with LWP:UserAgent I am looking for
the same ef
You are looking for HTTP Authentication...
http://www.php.net/manual/en/features.http-auth.php
Twigman...
On 2001.08.09 09:49 Chris Kay wrote:
>
> Hi
>
> My question is that i am about to start a database and i have been asked
> to
> make the login/password like htaccess, now they also want t
For your information...
---
The http header contains the modification date:
Last-Modified: Tue, 26 Jun 2001 03:46:20 GMT
do this, telnet www.somehost.com 80
wait till it does this:
Trying 203.52.23.1...
Connected to www.somehost.com.
then type this:
HEAD /path/to/file/or/directory/ HTTP/1.0
Hi
My question is that i am about to start a database and i have been asked to
make the login/password like htaccess, now they also want to be able to
modify passwords ect so i was going to do it with mysql.
I have seen or been told that there is something where you can use sql/php
and
This is a follow-up to my previous cookie post.
I discovered that the bit that Internet Explorer 4.0 didn't recognize a
cookie as valid when I included an expiration time.
This Works:
setcookie ("ArtPrintSession",$SessionID);
This Doesn't Work:
setcookie ("ArtPrintSession",$SessionID,time()+360
if (preg_match("/\d/", $data) {
print 'The $data contained a number';
}
On 2001.08.09 07:05 scott [gts] wrote:
> here are two regexps that might do what you want
>
> "\w" matches alphanum (1-9a-zA-z)
>
> IMO, the best way to check for non-alphanum chars is
> to check for "\W" (upper cas
I play with this lots, good fun..
Path:
the title of the page will contain the path you typed..
Twigman...
On 2001.08.08 23:13 Evan Nemerson wrote:
> I seem to recall that you can call a PHP script with a slash after it
> then
> variables. For instance http://localhost/script.ph
Hi again,
I can't really see much difference in the example you gave?
But if it may have something to do with the "casting of an unknown fraction
to int", I'll use floor() instead of casting. Same result:
floor((8.85-8)*100) = 84
I find that quite odd. I tried a few variations:
floor((8.85-8.
Here's the deal: I swear this code worked to set a Cookie on IE 4.0 for
weeks. Now when I went back to the site, it isn't setting the cookie. I
isolated the script into its own file with nothing else before or after and
am still having no luck.
Here's what I've tried:
* Clearing the cache an
Hi,
I am another person having trouble with the exec command. It has worked
for me in the past, but not with the perl script I'm trying to exec today.
Here is my code:
$command ="/home/kyelateas/cgi-bin/test.pl";
exec($command, $return, $status);
if ($return) {
That's right. I have been working for a large computer
company (2800 people), and my project manager had
never even heard about PHP and such.
Bjorn Van Simaeys
--- Inércia Sensorial <[EMAIL PROTECTED]> wrote:
> I don't think the problem is the open source
> nature. Corporate people
> usually
I don't think the problem is the open source nature. Corporate people
usually do not see flaws on it. But they do not see the advantages too
because there is little advertising.
--
Julio Nobrega.
2B||!BB - That's the question.
"Jeff Lewis" <[EMAIL PROTECTED]> wrote in message
00dd01c1203b
Hey,
This is not what BRACK a.k.a. Youri meant (it seems
that Youri is being misunderstood daily...)
He meant that if you can see when the remote server
pages have been updated by their respective webmaster.
I personally don't think that there is a way you can
get this information from *ANOTHER
Hi All, some partner in the world has the GD binaries ?, please don't
doubth in tell me, I neeed it.
Or let me know som shortcut way to get it.
Thanks in advance !!
Atte. Ignacio Estrada F.
Centro Nacional de Control de Energia
Area de Control Occidental
025+6463, 025+6464, 025+6469
--
PHP
What I do is put a timestamp in the database, using the time(); function,
select it and format it.
Matt Kaufman
- Original Message -
From: "BRACK" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 1:40 PM
Subject: [PHP] last modification time
> Is there any fu
I've been working with register_shutdown_function() to have the browser kick of a
long running script and move on to other tasks. I was having problems where the
browser
would sit and spin untill the function was done running, then would display the page.
I tinkered with flush and fflush (i'm w
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Scott) wrote:
> here are two regexps that might do what you want
>
> "\w" matches alphanum (1-9a-zA-z)
(0-9a-zA-Z_) actually. Don't forget that zero and underscore!
> IMO, the best way to check for non-alphanum chars is
> to check for "\W" (
here are two regexps that might do what you want
"\w" matches alphanum (1-9a-zA-z)
IMO, the best way to check for non-alphanum chars is
to check for "\W" (upper case is negation of alphanum,
which will match only non-alphanum).
if (preg_match('/^\w+$/', $data)) {
print "entirely alpha
www.php.net/curl
jack
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 4:51 PM
To: PHP User Group
Subject: [PHP] Emulating a POST
Hello,
I have used perl to emulate a post with LWP:UserAgent I am looking for
the same effect in php.
Hello,
I have used perl to emulate a post with LWP:UserAgent I am looking for
the same effect in php. Does anyone know how I can do this?
Thank you
Brandon
Is there any function that can fetch a time of last modification of the
remote document.
For example I have a links based on the MySQL database, and I
want to know what linked site was most resently renewed.
Thank you
Youri
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
i need to find out if a string (user imputed) conatins numbers. I want
only a-zA-Z to be in a field. (their name for exampleand city)...i
have the following however my regexps are VERY weak as i am a beginner.
function validatetext($text){
if (is_string($text)== 1){
On Wed, 8 Aug 2001, Kyle Smith wrote:
> Could somebody please show me, send me an example or redirect me to a page which
>shows how to show a random FLASH movie from a text file which contains different
>names of different movies so that when i go on the page it shows lets say, 1 of the 5
>mov
Ok. That is it. Sorry for the confusion and thank you for the help.
--Drew Vogel
On Wed, 8 Aug 2001, Mark Roedel wrote:
>> -Original Message-
>> From: Drew P. Vogel [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, August 08, 2001 3:14 PM
>> To: Mark Roedel
>> Cc: [EMAIL PROTECTED]
>> Subj
For reference, in case anyone cares-- from within functions, I usually
just do:
global $HTTP_POST_VARS;
extract($HTTP_POST_VARS);
...to account for the scope of the form vars.
-Original Message-
From: Mark Roedel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 4:08 PM
To:
> What it looks like it is doing to me, if you hit the script
> and reload it a
> bunch, is it creates a session, sticks with it for a while,
> then dumps it ..
> it then creates another session, starts over at 1, and begins
> counting up..
> then sometimes it will see the old session, and go b
> For those of you with a scientific disposition some Theories to ponder
> over . especially the cat one
>
> An American magazine held a competition, inviting its readers to submit
> new scientific theories on ANY subject. Below are the winners:
>
> 5th place (Subject: Probability Theory)
>
> -Original Message-
> From: Drew P. Vogel [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 3:14 PM
> To: Mark Roedel
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] 3rd include
>
>
> If a file is included from within a function, this would limit the
> variable cope of this fil
If a file is included from within a function, this would limit the
variable cope of this file, correct?
--Drew Vogel
On Wed, 8 Aug 2001, Mark Roedel wrote:
>> -Original Message-
>> From: Drew P. Vogel [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, August 08, 2001 2:19 PM
>> To: Mark Roe
Usually if-statements and regex's are used to validate data... If you
just want to make sure the form is filled out completely, you could do
this: (which is how I do it)
if(empty($name) || empty($address) || empty($phone))
{
// Form is not complete
echo 'Name: \n";
echo '
Ha ha... "hardcore the user/password"
Sorry... I realize you gave a good answer, just had to laugh. :)
-Original Message-
From: Attila Strauss [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 1:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] MySQL connection
hi,
there
Could somebody please show me, send me an example or redirect me to a page which shows
how to show a random FLASH movie from a text file which contains different names of
different movies so that when i go on the page it shows lets say, 1 of the 5 movies in
the text document.
Finally and almos
http://www.php.net/manual/en/debugger.php
> -Original Message-
> From: Peter Dowie [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 9:48 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Is there a debugger ???
>
>
> Hi,
>
> I noticed in php.ini there was a setion for debugger,
> -Original Message-
> From: Drew P. Vogel [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 2:19 PM
> To: Mark Roedel
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] 3rd include
>
>
> You're right. It is not discuessed there. My memory served me
> incorrectly.
>
> In index.ph
You're right. It is not discuessed there. My memory served me incorrectly.
In index.php (the file loaded by php), 'echo( $HTTP_POST_VARS["last_name"]
);' will print the variable contents, but in save_script.php (the 3rd file
included) the same function call will print nothing.
Am I mis understan
> What it looks like it is doing to me, if you hit the script
> and reload it a
> bunch, is it creates a session, sticks with it for a while,
> then dumps it ..
> it then creates another session, starts over at 1, and begins
> counting up..
> then sometimes it will see the old session, and go b
The whole set of is_* functions are useful, like is_numeric() and
is_string() and such.
Regular expressions are also mega-useful if you want data to be in a very
specific format, like email addresses and such.
isset() is also a good function to call at the beginning of your validation
funct
I still rarely ever see PHP mentioned in job listings and the like. Especially here
in Canada I find it very hard to find any kinds of contacts for companies using PHP.
My previous employer that I was with for 3+ years insisted on Micro$oft products and
wanted to go with ASP.
My current empl
You could either rename the file with a .php extension or you can have it so
the server treats .inc files like php files.
"David Hill" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello
>
> If I have a file called db.inc with, for example, this:
>
> // db.i
What it looks like it is doing to me, if you hit the script and reload it a
bunch, is it creates a session, sticks with it for a while, then dumps it ..
it then creates another session, starts over at 1, and begins counting up..
then sometimes it will see the old session, and go back to it ..
Lik
Still not working. My script is -exactly- as you have it below, and I
believe I've tried that before.
(begins pulling out hair)
Chad
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 2:31 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Sessi
i want to do form validation server side...not client side..
i'm wondering what programers use to validate form data.if
loopsarrays? what?
~kurth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
> > > > > session_start();
> > > global $count;
> > > session_register ("count");
> > > $count++;
> > > ?>
> > >
> > > Hello visitor, you have seen this page > > $HTTP_SESSION_VARS["count"]; ?> times.
There was a bug in PHP in versions prior to 4.0.6: $count and
$HTTP_SESSION_VARS["count"] did
The most PHENOMENAL WORLDWIDE EXPLOSION ever seen ... with any PRODUCT in DIRECT SALES!
You're about to discover the most exciting and Built-to-Last Opportunity ever! One
that will enable YOU to earn money QUICKLY, GLOBALLY and for the REST OF YOUR LIFE!
An Entrepreneur's dream.
This message
No, as the way I'm getting around this right now is I'm -using- cookies.
Plus, I gave the URL, so you guys could see what is happening .. it's not a
client-side issue.
Sorry if I sound frustrated, but I really am at this point. :)
The URL again is: http://www.militarycity.com/classified/realtors
On Wed, 8 Aug 2001 12:03:34 -0600
"Johnson, Kirk" <[EMAIL PROTECTED]> wrote:
> > If I have a file called db.inc with, for example, this:
> >
> > However, any user on the system can read db.inc cause its
> > chmod'd 0644.
> > If I chmod db.inc 0600 or even 0640, index.php can not include it.
>
> If I have a file called db.inc with, for example, this:
>
> However, any user on the system can read db.inc cause its
> chmod'd 0644.
> If I chmod db.inc 0600 or even 0640, index.php can not include it.
>
> How do I go about protecting my files from being read by
> users on the system?
Belo
On Dienstag, August 7, 2001, at 12:04 Uhr, Peter Ostry wrote:
> bash-2.03# /usr/apache/bin/apachectl start
> Syntax error on line 244 of /etc/apache/httpd.conf:
> Cannot load /web/libexec/libphp4.so into server: ld.so.1:
> /usr/apache/bin/httpd: fatal: /web/libexec/libphp4.so: open failed: No
>
Hi,
I got the same problem but i left it (had no more time to fumble around
with it). But try this, because it was what I was going to try:
function ccsession($userid = '1', $groupid = '1', $authid = '1',
$username = 'guest', $first_name = 'Guest', $last_name = 'Account')
{
global $H
Hello
If I have a file called db.inc with, for example, this:
I have a my index.php do a include('db.inc');
ok, that works.
However, any user on the system can read db.inc cause its chmod'd 0644.
If I chmod db.inc 0600 or even 0640, index.php can not include it.
How do I go about protecting
hi,
try this:
track.sql
CREATE TABLE table_track (
tid int(11) NOT NULL auto_increment,
ip varchar(15) NOT NULL,
PRIMARY KEY (tid),
UNIQUE tid (tid),
KEY tid_2 (tid)
);
#
that would insert the users ip into the table table_track ...
check it out...
i hope i c
hi,
there are 2 ways.
1. you hardcore the user/password in the php.ini file.
2. u do a simply error checking like :
of course you could also do like kindaheader("Location: http://host";); instead of
print "connection failed".
i hope i could help you.
best regards
attila strauss
>
> You will need some javascript to handle the checkbox'
> onchange event because when the user clicks the
> checkbox off and back on, the value will be 'on' - and
> your if-condition will not work!
Uh, no.
When you submit the form, $voorraad will either be "something" or "",
depending on w
J Smith wrote:
> For PHP 4, I believe you need to purchase the Zend Debugger from
> Zend. It comes as part of the Zend Developer's Suite.
There is also a free debugger.
http://dd.cron.ru/dbg/
regards
Wagner
--
Madness takes its toll. Please have exact change.
--
PHP General Mailing List (htt
For PHP 4, I believe you need to purchase the Zend Debugger from Zend. It
comes as part of the Zend Developer's Suite.
J
Peter Dowie wrote:
> Hi,
>
> I noticed in php.ini there was a setion for debugger, I tried enabling
> this and connecting to the specified port, but no joy.
> Anyone know
Greetings,
I'm having a puzzling time trying to figure out how to work around the issue
of the session_id not existing after making calls to session_start and
session_id to generate an session. It seems that by set_si() calling
session_id and seeing if there is a value, doesn't not work. Hence,
The debugger is not built into PHP 4, it was a feature in PHP 3.
--Matt
-Original Message-
From: Peter Dowie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 12:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Is there a debugger ???
Hi,
I noticed in php.ini there was a setion
Hey Colin,
You will need some javascript to handle the checkbox'
onchange event because when the user clicks the
checkbox off and back on, the value will be 'on' - and
your if-condition will not work!
Greetz,
Bjorn Van Simaeys
www.bvsenterprises.com
--- Colin Viebrock <[EMAIL PROTECTED]> wro
I don't see anything in the annotations for include() about losing
variable definitions...the notes that I see that look remotely relevant
are those regarding what PHP considers to be the "current directory"
when doing nested includes, which would cause problems in locating the
include files thems
Maybe you have your cookies turned off in your
browser? Something that is easily forgotten..
Greetz,
Bjorn Van Simaeys
www.bvsenterprises.com
--- Chad Day <[EMAIL PROTECTED]> wrote:
> Nope. Same problem. I'm seriously thinking there's
> a bug in the version of
> PHP I am running at this poi
I searched the database and did not find anything. I was not sure if the
bug could possibly be entered under a different title, though. It is
discussed in the manual errata for the include() function, so I would
assume the developers at least know of it.
--Drew Vogel
On Wed, 8 Aug 2001, Mark Roe
Hey Jouri,
I don't agree with this one. I tested it out on my
localhost and got the two error messages I told you I
was going to get:
Warning: Unknown MySQL Server Host...
Warning: MySQL Connection Failed...
No usernames/passwords. I have to say however that I
always include my connect.php fil
http://www.phpbuilder.com is loaded with goodies that should be able to
help you.
- Tim
On 08 Aug 2001 12:49:56 -0400, Jeremy Morano wrote:
> Can anyone give me some information or a link other than php.net
> PLEASEthank you.
--
PHP General Mailing List (http://www.php.net/)
Use file() to load in the names of the movies from your text file into
an array.
Use rand() to pick one of them from the array.
- Tim
On 08 Aug 2001 17:47:36 -0700, Kyle Smith wrote:
> Could somebody please show me, send me an example or redirect me to a page which
>shows how to show a random F
Hi, I'm a real newbie at this stuff and I have a little problem... I read
the manual but the answer to my questions were not clear. What I am trying
do do is track down a user when he or she visits my site. I would like to
store some information about them into mySql...Information like, username,
Could somebody please show me, send me an example or redirect me to a page which shows
how to show a random FLASH movie from a text file which contains different names of
different movies so that when i go on the page it shows lets say, 1 of the 5 movies in
the text document.
Finally and almos
Hi,
I noticed in php.ini there was a setion for debugger, I tried enabling this
and connecting to the specified port, but no joy.
Anyone know how to get this working ?
Pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
Yeah the file is on a HTTP server. I don't exactly get the source code
showing though as it is enclosed in php tags and the HTTP server is
running php.
Thanks,
Nigel
On Wed, 8 Aug 2001, Bruin, Bolke de wrote:
> Is that file living on a HTTP server which PARSES the function? Eg do you
> get
> t
Hi David,
This is indeed not a php problem, but a browser
feature. The browser forces a reload whenever you have
a '?' in your code! (unless you use some proxy..).
I would also like to know how to overcome this - if
possible.
Greetz,
Bjorn Van Simaeys
--- David Ovens <[EMAIL PROTECTED]> wr
> Has the "3rd include" bug (where variable definitions ar
> "lost" at the 3rd
> include), been fixed yet?
>
> --Drew Vogel
Drew, I hadn't heard about this one. If you find anything, would you please
post back your results to the list?
TIA
Kirk
--
PHP General Mailing List (http://www.php.ne
Is that file living on a HTTP server which PARSES the function? Eg do you
get
the source code when directly requesting it from a browser or an empty page
(or whatever)
Bolke
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Verzonden: Wednesday, August 08, 2001 6
Hi,
read the manual on the GD-library (www.php.net/image)
it wont do any GIFS anymore, but it'll all the rest
Bolke
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Verzonden: Wednesday, August 08, 2001 6:14 PM
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP] Image Gene
Line 51 has a call to login(). The login() function is in functions.php
which lives on a different server. I try to use functions.php by putting
the require statement in survey.php. This works when they both live on the
same server but when I try using require with the url to a remote server
it fa
Hi to all, I need to create web pages containing images which should be
updated periodically, but the image contents may vary as data coming from a
database varies.
What is that?, well the image will contain dynamic objects and static
objects. The dynamic objects can be text (representing databa
1 - 100 of 182 matches
Mail list logo