Hello all,
I hope my newbie question don't bother you
too much.
I've downloaded the latest PHP for windows
but when I try to use it I get a message
that I have to re-compile it.
(You may disable this restriction by recompiling the PHP binary
with the
Hello all,
I hope my newbie question don't bother you
too much.
I've downloaded the latest PHP for windows
but when I try to use it I get a message
that I have to re-compile it.
(You may disable this restriction by recompiling the PHP binary
with the
I have an app that worked with mySQL, but now I'm trying to make it use
SQL Server. The function that connected to to the mySQL was:
mysql_pconnect($db_host, $db_user, $db_pass) or die(Unable to connect
to SQL server);
I tried to change it to sql_pconnect($db_host, $db_user, $db_pass) or
What type of OS are you running this application on and how was php
compiled?
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Greg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 6:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie
I'm sure it's something simple, but what's the
php function that will let me connect to the
SQL Server?
mssql_*, instead of mysql_*
See them all at http://www.php.net/manual/en/ref.mssql.php
HTH
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
This may be a bit off topic but I am trying to install the pdflib package
for Linux so I can make pdfs through php and I was wondering if anyone might
know the command to download a file via CRT from an http source.
I apologize to the OT but I cant seem to get much of anything to work for
me.
On Wednesday 13 February 2002 03:13, Chris Schoeman wrote:
I want to make links on my website which doesn't show the original url of
that page.
How Can I do that?
Have your links of the form:
htpp://www.mydomain.com/linkto.php?id=123
Then in linkto.php you need to redirect (using
-
From: Jason Wong [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 12:04
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie question about links
On Wednesday 13 February 2002 03:13, Chris Schoeman wrote:
I want to make links on my website which doesn't show the original url
On Thursday 14 February 2002 20:43, [EMAIL PROTECTED] wrote:
That won't work.
If you relocate using header(Location: ...) then it DOES show the
original URL in the browser's address field.
There are other ways of relocating which don't do this. For instance:
(1) include(real-path);
I want to make links on my website which doesn't show the original url of
that page.
How Can I do that?
Thankx Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
reference the file that you wish to link to:
A href=newpage.phpClick here/A
-Original Message-
From: Chris Schoeman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 1:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie question about links
I want to make links on my website
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello All:
How do I read all of the data from just one column, then develop a
count based on those items? I think I start with mysql_fetch_field(),
but right there I get stuck. Any ideas to point me in the right
direction?
Thanks in advance,
Ron
] Newbie Question about PHP / MySQL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello All:
How do I read all of the data from just one column, then develop a
count based on those items? I think I start with mysql_fetch_field(),
but right there I get stuck. Any ideas to point me in the right
ok, i have reed the manual and i are having a hard time understanding it...
i tryed some examples with sessions but neither one of them did work
thats why i asked about sessions and cookies
cause in asp u use sessions like this,
Session(name) = Steve
or
Session(ANumber) = 12345
u dont
Sessions are specific to the period when a specific browser is interacting
with the site. When that browser is closed the session disappears. The
values are stored on the server, and the session_id is used as a key to
maintain state (or persistence of variables) between requests.
I don't
Hello There
I'm new to PHP and trying to code a function that reads all teh files out of
a directory and printing out a link and the filesize,
but it seems that the filesize() function doesn't work, here's the code so
far:
$handle = opendir ('images');
echo
I am trying to delete files using web explorer THere is a section in the
code that states the following...
Can I include a shell script into it? Or it is neccessary. I know I have
permissions,but I might be wrong. If someone could help me I would
appreciate it.
Thanks
Al
case del:
From: Embrace DaPain [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie question on deleting directories using web
Explorer
Date: Wed, 16 Jan 2002 11:47:27 -0500
I am trying to delete files using web explorer THere is a section in the
code that states the following...
Can I
Hi there,
I'm really really new to both PHP and MySQL, so this is probably going to
turn out to be an easy fix.
The basis is this: I have a MySQL database with two tables in it. I'm
trying to update 1 of the fields (aqfl_team) in the first table
(nfl_players) with a value from a field
Phone: (847) 816-1231
-Original Message-
From: Bob Eldred [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 1:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie question
Hi there,
I'm really really new to both PHP and MySQL, so this is probably going to
turn out to be an easy
Okay, probably been asked zillions of times already, but I couldn't find
reference to it in the last 5 minutes. :)
Where can I find newbie-novice tutorials on php/mysql?
My server is PHP4/MySql on a Apache/FreeBSD.
I want to learn how to make these types of sites: Dating, BuySell, Forums,
On Wednesday 05 December 2001 05:16 pm, Geoff E wrote:
Okay, probably been asked zillions of times already,
Yep
but I couldn't find reference to it in the last 5 minutes. :)
Didja try the archives?
http://marc.theaimsgroup.com/?l=php-general
--
PHP General Mailing List
I've modified a couple of php scripts that are working quite well. They are
simple form/email scripts.
I have hit a road block with a counter that I need.
I need a counter that starts with i-1 and will increment by 1 after each
confirmation of a reservation form.
I don't necessarily have
Hi,
I'm new to the list and I have a problem with PHPNUKE 5.2 and W98.
After installing some categories and links in the Web Links section, and
then clicking on one of the links created I keep getting the following
message error in W98SE.
PHP caused an invalid page fault in module
-Original Message-
From: Johannes Ambrose [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 7:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP] newbie question about odbc_connect
Hi,
I've been happily using mysql_connect() for various scripts on a linux
box. Now I'd like to connect
Hi,
I've been happily using mysql_connect() for various scripts on a linux
box. Now I'd like to connect to a filemaker pro database using
odbc_connect(). However, the response I get is Call to undefined
function.
Do I need to compile odbc support? (I thought it was built in.)
Is there an
On Wed, 14 Nov 2001 10:51, Johannes Ambrose wrote:
Hi,
I've been happily using mysql_connect() for various scripts on a linux
box. Now I'd like to connect to a filemaker pro database using
odbc_connect(). However, the response I get is Call to undefined
function.
Do I need to compile odbc
David Robley [EMAIL PROTECTED] wrote:
in_array might be one tool - loop through $Foo and print $Foo[n] if it's
not in the array $donotprint
[cut]
And doubtless there are other, better ways. Offers, anyone?
Look at array_diff
http://download.php.net/manual/en/function.array-diff.php
--
This is a simple question, but I'm having trouble figuring out a solution.
Let's say I have 2 arrays:
$DoNotPrint=array(a,b,c);
$Foo=array(c,d,e):
What is the best way to print every value in $Foo that does NOT match a
value in $DoNotPrint? For instance, in this example, c should not be
print.
On Thu, 20 Sep 2001 14:07, Jeremy Moles wrote:
This is a simple question, but I'm having trouble figuring out a
solution.
Let's say I have 2 arrays:
$DoNotPrint=array(a,b,c);
$Foo=array(c,d,e):
What is the best way to print every value in $Foo that does NOT match a
value in $DoNotPrint?
I don't quite understand what you're saying. I'm really sorry.
Could you show me some code?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
On Thu, 20 Sep 2001 14:30, Jeremy Moles wrote:
I don't quite understand what you're saying. I'm really sorry.
Could you show me some code?
Original problem:
This is a simple question, but I'm having trouble figuring out a
solution.
Let's say I have 2 arrays:
$DoNotPrint=array(a,b,c);
Hey guys,
I have a mysql database of articles, and what i'd like to do is make 1 page that shows
a brief sneak peak of each article, so what I would do is, show the first 50 or so
words of each article and then add an elipses at the end. I'm sure it can be done but
I wouldn't have a clue
On Fri, 7 Sep 2001 16:49, [EMAIL PROTECTED] wrote:
Hey guys,
I have a mysql database of articles, and what i'd like to do is make 1
page that shows a brief sneak peak of each article, so what I would do
is, show the first 50 or so words of each article and then add an
elipses at the end.
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Question.. (MySQL/PHP)
Hey guys,
I have a mysql database of articles, and what i'd like to do is make 1 page
that shows a brief sneak peak of each article, so what I would do is, show
the first 50 or so words of each article and then add an elipses
Hello listers
I'm trying to implement a mySQL database dump via PHP4 on a unix system
as follows...
--
$result = exec(mysqldump -umyname --password=mypassword
tablename db.dump,$xarray,$status);
echo
Message-
From: Tony Frasketi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 1:56 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Question: mysqldump via PHP
Hello listers
I'm trying to implement a mySQL database dump via PHP4 on a unix system
as follows
Did u mention the database name from where the table has to be
picked up.
check out the manual for correct syntax.
/sagar
- Original Message -
From: Tony Frasketi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 04, 2001 11:25 PM
Subject: [PHP] Newbie Question
to be
picked up.
check out the manual for correct syntax.
/sagar
- Original Message -
From: Tony Frasketi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 04, 2001 11:25 PM
Subject: [PHP] Newbie Question: mysqldump via PHP
Hello listers
I'm trying to implement
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original Message-
From: Tony Frasketi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 1:56 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Question: mysqldump via PHP
:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 2:28 PM
To: Sam Masiello
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
Thanks for the reply. I had the permission set for 777 so that should
allow access to the directory for writing from PHP, should
PROTECTED]
Sent: Tuesday, September 04, 2001 11:53 PM
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sagar
My goof in the email composition! 'tablename' should have been 'dbname'.
So yes, the database name is specified and I am attempting to dump the
entire database with all tables
[EMAIL PROTECTED]
-Original Message-
From: Tony Frasketi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 2:28 PM
To: Sam Masiello
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
Thanks for the reply. I had the permission set for 777 so
]
-Original Message-
From: Tony Frasketi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 2:53 PM
To: Sam Masiello
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
No I haven't tried this since I'm on a virtual server and don't know
where mysqldump
the unix command to see where an executable is, is which. Example: which
mysqldump
- Original Message -
From: Tony Frasketi [EMAIL PROTECTED]
To: Sam Masiello [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, September 04, 2001 11:53 AM
Subject: Re: [PHP] Newbie Question: mysqldump
So sprach »Tony Frasketi« am 2001-09-04 um 13:53:10 -0500 :
section of the phpinfo listing. Do you know of a unix shell command I
could use to get the location of mysqldump?
which mysqldump
this should tell you.
Alexander Skwar
--
How to quote: http://learn.to/quote (german)
Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original Message-
From: Tony Frasketi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 2:28 PM
To: Sam Masiello
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi
]
Sent: Tuesday, September 04, 2001 12:39 PM
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
Thanks to suggestions from jason, Alexander, and yourself I tried the
unix which command and found that mysqldump was located at...
/usr/bin/ directory
And I changed my exec command
: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question: mysqldump via PHP
Hi Sam
Thanks for the reply. I had the permission set for 777 so that should
allow access to the directory for writing from PHP, should it not?
Also I tried specifying /tmp/db.dump in the command and had
Hi there,
I have recently taken over the webmaster responsibility for an educational
website. It is using PHP3 and MySQL. We had to move it to a new server, that
as it turns out only supports PHP4. I have been looking through all the FAQs,
resource sites, manuals and documentation, but all
On Mon, 3 Sep 2001, Michelle Marcicki wrote:
website. It is using PHP3 and MySQL. We had to move it to a new server, that
as it turns out only supports PHP4. I have been looking through all the FAQs,
Are you running an Apache web server? If so, add this line to your
httpd.conf file and
now, freak later!
-Original Message-
From: Michelle Marcicki [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 1:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Question: Converting PHP3 files to PHP4?
Hi there,
I have recently taken over the webmaster
Just configure your server to serve up .php3 files as PHP 4. ie. add this
line to your httpd.conf file:
AddType application/x-httpd-php .php .php3
And get rid of your other AddType line.
-Rasmus
On Mon, 3 Sep 2001, Michelle Marcicki wrote:
Hi there,
I have recently taken over the
and nothing that I can do at my end as far as code
or file name changes?
Michelle
-Original Message-
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Michelle Marcicki [EMAIL PROTECTED]
Date: Mon, 3 Sep 2001 20:15:30 -0700 (PDT)
Subject: Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?
Just
OR is there only a server fix and nothing that I can do at my
end as far as code or file name changes?
Changing all your file names and links in the files is very
time-consuming and not really necessary. If you can wait until
tomorrow morning, the change that the guy who runs the server
can
On Mon, 3 Sep 2001, Michelle Marcicki wrote:
I am NOT running the server. I am using a local ISP (excellent guy but not
really accessible on this long weekend), so I have no control over what the
OOOH ... Nasty! If the admin can't add the .php3 extension for you, then
you'll be stuck
OOOH ... Nasty! If the admin can't add the .php3 extension
for you, then you'll be stuck renaming files, and correcting
references within them.
Shouldn't be hard to add either way :)
If it's a unix host, it's not that painful ... just a small
shell script, and a sed script. (In
One thing I noticed when I did some updates to a few of our programs, is that
certain comment lines caused strange errors, and really nothing else.
I basically made a backup copy removed comments, and then added them back in which
made everything work...not sure if somehow the older box ( using
1) I thought that PHP automatically created variables for all form elements
on a page. When I run this, the dropdown box contains the first item, but
$Report evaluates as null. I am unclear why.
select name=ReportBR
option value=1 Test Report A/option
option value=2 Test Report
I've built a small login script (code fragment below), and want to force a
page load depending on if the login was valid or not. How do I make PHP
redirection to a new page? Ideally, I want the equivalent of building an
query string such as goodpage.php?Username=?echo $Username? and forcing
it to
use require_once(page); to include the page
or use header(Location: page); to redirect to a different page
- Original Message -
From: LB [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 21, 2001 10:58 AM
Subject: [PHP] Newbie Question: Forcing a page load
Hi all ---
I'm having some trouble getting basic authentication working. Either that
or my privileges are screwed up, or something.
I am running Apache on Windows 2000 and PHP4. I've searched newsgroups,
this mailing list, various FAQs and the manual, I think my eyes are
crossing. I've got a
The ereg_replace for some reason doesn't always work.
I tried this:
HTLM
BODY
?
$st = This +is a test;
$st = ereg_replace (=+is, and_is, $st);
echo $st;
?
/BODY
/HTML
..and got:
REG_BADRPT in b/usr/local/httpd/htdocs/test.php/b on line 5
What is wrong and how can I do what I want to?
Thanx a
Try this : $st = ereg_replace (\+is, and_is, $st);
you have to escape the + sign it mean other things then just literal
André Weidemann wrote:
The ereg_replace for some reason doesn't always work.
I tried this:
HTLM
BODY
?
$st = This +is a test;
$st = ereg_replace (=+is, and_is, $st);
Hello to all.
This is probably the most basic question of th PHP general list. I just
installed PHP 4.0.5 on Apache 1.2.19.
Could someone please explain a very basic test.
I would like to write a Hello World page as a test.
I have tried the following: And named the page: index.php and
In your apache conf, make sure you have something similar to:
AddType application/x-httpd-php .php .phtml .inc
If you don't, add it and restart apache.
- Original Message -
From: Raven [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 12, 2001 12:04 PM
Subject: [PHP] Newbie
Sorry, should be
./httpd --help
Miles
At 01:52 PM 5/12/01 -0300, Miles Thompson wrote:
snip
or
./hhtpd --help
snip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
Hi,
How do you add text vars together e.g.
$varone = hello;
$vartwo = world;
$varthree = ($varone, $vartwo);
Obviously the above example doesn't work so can someone tell me how to do this?
Thanks
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk
--
PHP General Mailing
Jamie Saunders wrote:
How do you add text vars together e.g.
$varone = hello;
$vartwo = world;
$varthree = ($varone, $vartwo);
$varthree = $varone . $vartwo;
although
$varthree = $varone . ' ' . $vartwo;
might be more appropriate.
regards
Wagner
--
In place of infinity we usually put
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: SED [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 1:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie question about Classes
Hi,
I have now been 3-4 months writing PHP-codes and read
In article 9c1gqf$i3j$[EMAIL PROTECTED], Wade
[EMAIL PROTECTED] wrote:
well, in your first IF clause, you refer to my_type without the $.
For the else clause, you are outputting HTML while still inside
the PHP block.
try one of these:
} else {
?
select tabindex=13 name=my_type
http://phpbuilder.com/columns/rod19990601.php3
This is almost a religious debate in itself, but some brief info anyway.
SED [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I have now been 3-4 months writing PHP-codes and read the PHP manual
throughout.
I had trouble with classes too, but I think the main reason they are tough
at first is because since there is so much talk about how hard/cool object
oriented programming is, we think things are harder than they are.
Think of an object as a jar. Inside the jar are variables and functions
, 2001 12:46 PM
Subject: [PHP] Newbie question about Classes
Hi,
I have now been 3-4 months writing PHP-codes and read the PHP manual
throughout. But there is one thing I can't figure out properly (I think
it's
not covered enough in the manual): Classes!
When and why would I use
and VB is a POOP language :) (pseudo-Object oriented programming)
--
phill
PHP isn't Java; it's not an OO language.
PHP isn't...um...FORTAN; it's not a purely PP language.
The world if formed from the void,
like utensils from a block of wood.
The Master knows the utensils,
yet keeps
I wanted to say thanks to all those that have helped me. This is really a
great language and I am doing things I never thought I'd be able to do!
Now to my question:
I am doing some form validation, where I check the values entered by the
user. If the value is correct, I format the results and
] Newbie Question
I wanted to say thanks to all those that have helped me. This is really a
great language and I am doing things I never thought I'd be able to do!
Now to my question:
I am doing some form validation, where I check the values entered by the
user. If the value is correct, I format
o
output
the Select HTML.
-Stewart
-Original Message-
From: Wade [mailto:[EMAIL PROTECTED]]
Sent: 23 April 2001 16:15
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Question
I wanted to say thanks to all those that have helped me. This is really a
great language and I am doing things
On Monday 23 April 2001 17:34, Taylor, Stewart wrote:
You've got some typo's
if (my_type != 0){ -- if ($my_type != 0) {
if ($my_type)
if it's a check if it's true, not-equal-ing it to string 0 is a ugly way to
do it. just my two cents.
--
php developer / CoreTrek AS| Forest
Furthermore, it's also buggy. If the user submits an empty string the if()
will consider it to be not equal to 0, which will execute whatever is in
the if statement.
Not only that, but if the user submits the number 0 it invites bugs because
the string 0 is not equal to the number 0. Even if you
Hello people,
I am having a peculiar problem with my mailing list and hope you can help me
out. I have a mySQL database with a table of email addresses for the mailing
lists. I have many lists, and my (PHP) code runs various queries on this
table to generate lists of email addresses to which the
Whenever you are positive its nto your code then check it again. That being
said are there any SMTP logs you can check? Have you monitored the exact
data being sent to the SMTP server(maybe set up a dummy socket that repeats
back the data sent to it then have your program try to connect to
Yes, that is a sound approach. However I've checked it again, and again, and
again, and nothing pops up. It would be easier if I had an error generated.
I'll try to get my hands on the SMTP logs, will talk to the server admin
about that. My code is sending data to the SMTP socket and monitoring
The best way is to use an email list manager. I remember someone suggesting
one, but I've totally forgotten it now.
Personally the way I would do it is take the first list and load all the
email addys into the Bcc field. Or break them up into small chunks of less
than 50 at a time, since trying
then make a file called count.inc and chmod it to 777 so anyone can write
to
it. insert a number into the file.
Hey!
I tried to make this counter.php-file, that went ok, I think
My problem is to make the count.inc-file, I could make it but I have no idea
how to put "chmod" to "777" in it.
The
chmod is a *nix command. you do it to the file:
chmod 777 counter.inc
on the command line
-jack
-Original Message-
From: Marthe Kristiansen [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 3:04 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Newbie question: Page Counter
Hey!
I'm a bit new at PHP, my page's at http://www.marthe.com.
My problem is that the counter on the page, from TheCounter.com, is far too
ugly.
Since I'm updating the page, I'm wondering if anyone has any good ideas on
how I should make one and what I should do.
Greetings,
Marthe
--
PHP
..
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Marthe Kristiansen [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 11:08 AM
To: Php-General
Subject: [PHP] Newbie question
make a file called counter.php and include this text:
//-counter.php--
---//
?php
//Simple PHP counter, v0.1. Send comments to [EMAIL PROTECTED]
if (file_exists('count.inc'))
{
$fil = fopen('count.inc', r);
$dat =
Victor
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] newbie question about variables
Something like the following HTML :
a href="foo.php?var=1"img src="img1.gif"/a
a href="foo.php?var=2"img src="img2.gif"/a
a href="foo.php?var=3"img
Message-
From: Cheng, Kynan (London) [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 5:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] newbie question about variables
Hi,
I have not coded script in html before, so I was wondering if someone could
look this over briefly:
I'm a bit
: PHPBeginner.com [SMTP:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 3:00 PM
To: Cheng, Kynan (London); [EMAIL PROTECTED]
Subject: RE: [PHP] newbie question about variables
Yes, you were right, this works just the way you wrote.
And yes, there is a JavaScript way to do it, but I guess
Hello,
Is there any (easy) way to let a user to set the value of a
variable by simply clicking on a hyperlink on a web page?
I mean if I have a 3 links on a page if the user clicks on image1 to
set a variable $var=1,if clicks on image2 to set it as
$var=2,etc.
Any suggestions (including
On Mon, Apr 09, 2001 at 12:19:57AM +0300, Victor wrote:
Is there any (easy) way to let a user to set the value of a
variable by simply clicking on a hyperlink on a web page?
I mean if I have a 3 links on a page if the user clicks on image1 to
set a variable $var=1,if clicks on image2 to
Something like the following HTML :
a href="foo.php?var=1"img src="img1.gif"/a
a href="foo.php?var=2"img src="img2.gif"/a
a href="foo.php?var=3"img src="img3.gif"/a
And in foo.php have :
print $var; // 1 or 2 or 3
Also consider the following :
a href="?php echo $PHP_SELF;
Victor escribi:
Hello,
Is there any (easy) way to let a user to set the value of a
variable by simply clicking on a hyperlink on a web page?
I mean if I have a 3 links on a page if the user clicks on image1 to
set a variable $var=1,if clicks on image2 to set it as
$var=2,etc.
Hello! I am relatiovely new to PHP and I need help with the "fsockopen".
Well I use this to check if the server is online or down. But that's not
exactly what I wanted it to do. I have this "downloads page" and I am more
into detecting if the "remote files" are available for download or not.
again!!!
Christian
-Ursprngliche Nachricht-
Von: Todd Pillars [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 15. Mrz 2001 20:14
An: Virtual Evil
Betreff: RE: [PHP] Newbie question: Basic knowledge
html
head
title My New Page /title
/head
body bgcolor="#FF"
p This is my ne
lto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 15. Mrz 2001 21:28
An: [EMAIL PROTECTED]
Betreff: Re: [PHP] Newbie question: Basic knowledge
Sounds like your mappings in you Web Server aren't setup correctly. Which
webserver are you using?
--
phill
""Virtual Evil"" [EMAIL PROT
:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 15. Mrz 2001 21:40
An: Phillip Bow
Cc: [EMAIL PROTECTED]
Betreff: AW: [PHP] Newbie question: Basic knowledge
sorry, i've just configured that in the Windows 2000 "Internet Services
Manager"
the point: Standard website (i don't know if it is c
401 - 500 of 510 matches
Mail list logo