was hoping someone else would see the errors I can't.
I'll re-post the script.
Matt.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2002 07:04
To: [EMAIL PROTECTED]
Subject: Re: [PHP] a user_auth script. The Script
On Tuesday 12 February 2002 07:11,
?php
include(../dbconnect.php);
if ($submit == sign!)
{
$admin_string_auth=(select account_name, account_password,
account_admin_level from account_details where account_name='$login_name')
or die (Cant run auth string);
You have the ending } for the if statement?
Nate
- Original Message -
From: Matthew Darcy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 12:57 AM
Subject: RE: [PHP] a user_auth script. The Script
was hoping someone else would see the errors I can't.
I'll
according to what I can see all the if/else statments are {} ended. But this
is why I am mailing the list, I can't see a problem.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2002 09:04
To: [EMAIL PROTECTED]
Subject: Re: [PHP] a user_auth
Analysis and Solutions([EMAIL PROTECTED])@2002.02.11 23:19:57 +:
back'... but upon going back in history, all the data that was in the
form is lost. This did not occur on my regular not-secure web server.
Page caching. You can alter that through the header() function. But, a
No, you
On Mon, 2002-02-11 at 06:46, Jerry Verhoef (UGBI) wrote:
I think you all are missing the point that *RzE is making.
The software you use/create should be bugfree and free from undocumented
features. Otherwise security risks could occur. And ofcourse all other
In a perfect world, yes.
Hello
I hope this question is not a silly one but I am really lost on this
question.
One of our customer has all his product database on a hyperfile database.
Does anyone know anything about the compatibility of PHP and those hyperfile
databases? (We would like to create a link between our
IMHO escribed feature is not a bug.
most probably this 'bug' is a special hole just in case.
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: Lars Torben Wilson [EMAIL PROTECTED]
To: Jerry Verhoef (UGBI)
Hi Scott,
In my constant effort to improve my perl conversion project, I have a
question regarding file reading. I am taking two files and combining
them in an array and then writing out a new file. Is there a way to:
a)strip out the first line of the second file
b)test for conditions
How do I check a string for it to only contain numbers?
if(!ereg(([0-9]+),$string)){
print It contains characters other than numbers;
}else{
print Only numbers;
}
Can anyone give some feedback...
regards,
Bart
--
PHP General Mailing List (http://www.php.net/)
To
if ((int($string)==($string)) ($string0)) {then positive integer}
not sure exactly, but try
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: B. Verbeek [EMAIL PROTECTED]
To: Php-Db-Help (E-mail) [EMAIL
Anyone know of any scripts/functions available to decode binhex 4.0 encoded
files?
Cheers,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if ((int($string)==($string)) ($string0)) {then positive integer}
not sure exactly, but try
Why not use the RE's? I usually use preg_* so I'll give the example
using these...
if (preg_match (/^\d+$/, $string)) {
print (Yep... Only digits.);
} else {
prnt (Noop! There are non-digit
At 09:26 AM 2/12/2002 +0200, val petruchek wrote:
My current project runs on Win2k, MsSQL 2k, and PHP 4.0.6
My problem is that i can not enable md5 extension because of
Unable to load dynamic library 'c:\windows\php\extensions/php_mcrypt.dll' -
The specified procedure could not be found. in
I am certainly not an apologist for M$ but the response you sent is a bit off the
mark. Although Apache, PHP and My SQL
are not developed specifically for M$ systems they now are available and I have found
them to be stable on both winnt
and win2k. I have never had PHP, MySQL or Apache go down.
That wouldn't work!
1) You meant to write: if (((int)$string==$string) ($string0))
2) (int)'5a' == 5, so this formula would result is 5a == 5!
--Daniel
-Original Message-
From: val petruchek [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 6:22 AM
To: [EMAIL
as a said before i'm not sure; my idea was to use type casting instead of
eregi;
anyone can develop it into smart solution; i am out of time now for this
developing
so can suggest idea only
Valentin Petruchek (aki Zliy Pes)
*** cUT THE BEGINNING ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
The question you must answer first: what do you intend to do with the data
once it's collected? Will you simply review the data without sorting it or
performing data manipulation? If so, why incur the overhead of MYSQL? If
all you need to do is log the user page hits, use a text file; then use
Liam Mackenzie wrote:
Hi everyone,
I know this is a relatively simple question, but what would be the most efficient
way of entering the contents of a large form (nearly 400 fields) into a MySQL
database? Every day the form must be able
Please provide an example script that I can use to
I'm developing a site where many users can log in.
I want to know how many users are using the system simoultaneously, and display it in
a document so the users can see it.
¿How can i do that?
Thanks
Salu2,
___
Powered by Sambar
OK,...
For each page on my site there will be a different title.
Example:
title
?php
echo ?witakr home?
?
/title
or
title
?php
echo ?witakr News?
?
/title
What I want to know how to take the word that is currently in the place of
News or home.. Wait.. I think I may
Store the user count to a database or file. Increment when new user enters;
decrement when user logs out. If user does not log out and simply types a
new URL into the address line, then you have another problem.
-Original Message-
From: V [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
I'm sure i confused someone... The $pagetitle1 and $pagetitle are supposed
to be the same... I made a couple typos
--
Jason Whitaker
Jason Whitaker [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
: OK,...
:
: For each page on my site there will be a different
Zliy Pes,
(I have no idea what this name means - trust it doesn't mean that you'll be coming
after me with a sharp knife!)
My current project runs on Win2k, MsSQL 2k, and PHP 4.0.6
My problem is that i can not enable md5 extension because of
Unable to load dynamic library
Create a user activity table which stores the time when the user does
anything. Then query it with a GROUP BY user syntax and constrain the
records to only those after, say, an hour ago if you think that users
doing something during the last hour means they are in there doing
something.
This
Check for a closing bracket on this statement
if($row[account_password]==$login_name // line 14 or 15 needs )
Hope this helps
Hugh
- Original Message -
From: Matthew Darcy [EMAIL PROTECTED]
To: hugh danaher [EMAIL PROTECTED]; php
[EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
Can anyone see any reason why this function does not appear to be
returning true? It appears to be returning 1 though?
[snip snip]
if(!$this-_db_connect()) {
return FALSE;
}
Hello Again!
Cc Zona [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'd like to retrieve the http://someReallyWeirdAtDomain-part.
http://php.net/parse-url
I think you misunderstood my question, my problem is not how to parse the
URI,
I discovered the the
I'm doing a project to move my company off of microsloth exchange.
I have dont qmail with courier imap, now I was looking for suggestions for the rest of
exchange
features, calendaring, scheduling and so on and so forth. Is there one good package?
Suggestions.
thanks,
dan
whenever they're is a new unique visitor, I want a script to email the
member about who visited. And have a permanent record for each member of who
viewed their pages, accesible when they login.
Rick Emery [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
The
Hi !
I'm writing some code, and I have questions :
#1 : it is possible to use xslt_process($xml, $xsl,$result) with a string
$xml comtaining XML instead of pointing to an .xml file ?
#2 : I have to copy a XML node from a XML file to another (both on server)
and then transform it with XSLT and
On Tuesday, February 12, 2002, at 11:24 AM, Nick Wilson wrote:
Hi all
Can anyone see any reason why this function does not appear to be
returning true? It appears to be returning 1 though?
[snip snip]
if(!$this-_db_connect()) {
return FALSE;
}
I'm doing a project to move my company off of microsloth exchange.
I have dont qmail with courier imap, now I was looking for
suggestions for the rest of exchange
features, calendaring, scheduling and so on and so forth. Is
there one good package?
Try TWIG. I've played with an older
I just looked at your website (http://www.filmfind.tv) to get a better
feeling for what you might be after. Based upon your comments below and the
purpose of filmfind.tv, it appears a mysql solution might be required. At
the least, you need to store the email address of your members. I assume
http://twig.screwdriver.net/
-Original Message-
From: Erik H. Mathy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 11:23 AM
To: PHP General List
Subject: RE: [PHP] Exchange substitute
I'm doing a project to move my company off of microsloth exchange.
I have dont qmail
I don't think that string actually gets sent unless the browser receives a
401 Auth Required (I think that's it) header.
Even if you have that setup and put a page with phpinfo() in it you'll
notice that none of the environment variables will look like the url
you've got below. The browser
Glory!
I have a bunch of .CSV (Microsoft Excel Comma
Seperated Values) Files with me, whose data i want to
put back into my mySQL database tables. How can i do
that through php? or otherwise...
thanks,
T. Edison jr.
=
Rahul S. Johari (Director)
**
$what_you_want = $HTTP_HOST . $REQUEST_URI;
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.0.6, mod_perl/1.25,
Stronghold/3.0 (Apache/1.3.22), MySQL
look at MYSQL's LOAD DATA INFILE command:
LOAD DATA INFILE datafile.csv INTO mytable FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '' LINES TERMINATED BY '\n'
-Original Message-
From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 12:02 PM
To: [EMAIL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Erik Price declared
Hm. I can't answer your question, but I'd like to ask you one. I've
been using 'return 1' or 'return 0' in my function calls -- is there an
advantage to using 'TRUE' or 'FALSE' rather than numbers? In other
Massive Help Hugh,
I missed that one and learnt the lesson make sure statements are closed.
I am now getting complaint of an error on line 68. I still can't see
anymore.
More help is appriciated.
Thanks,
Matt.
-Original Message-
From: hugh danaher [mailto:[EMAIL PROTECTED]]
Sent:
Glory!
I have a bunch of .CSV (Microsoft Excel Comma
Seperated Values) Files with me, whose data i want to
put back into my mySQL database tables. How can i do
that through php? or otherwise...
Take a look at MySQL-Front - its menu system talks about CSV (I've not had an excuse
to use
I've had this set up on a win98 Pentium II 350 machine for a year and
a half. It seems the problem goes way back a long time but can't be
sure. It doesn't happen on the isp where things go when done, so I
lived with it on this machine. I always expected it was some needed
garbage collection,
Anyone successfully using Sybase with PHP?
I have looked at the archives and the online notes to the manual, but
still have not been successful connecting to a sybase server.
We are trying with the CT drivers.
In particular I don't see how to specify the database and port.
sybase_connect is:
int
Hi all,
Do not use || instead of or !!!
Example:
$result = mysql_query(select now()) OR die (mysql_error());
--
Berthold
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try closing all your { }. count them up, you are missing the closing
bracket on your while statment..
Jim Lucas
- Original Message -
From: Matthew Darcy [EMAIL PROTECTED]
To: hugh danaher [EMAIL PROTECTED]; php
[EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 10:25 AM
Subject: RE:
you surprise me I counted { + } and got six of each. I'll double check.
Thanks for the input.
Matt.
-Original Message-
From: Jim Lucas [php] [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2002 18:55
To: [EMAIL PROTECTED]; hugh danaher; php
Subject: Re: [PHP] a user_auth script. 1 down
forgive me, I did count wrong, the problem happens to be that you are using
an ELSE on the end of a while loop. :P
Jim Lucas
- Original Message -
From: Matthew Darcy [EMAIL PROTECTED]
To: Jim Lucas [php] [EMAIL PROTECTED]; hugh danaher
[EMAIL PROTECTED]; php [EMAIL PROTECTED]
Sent:
I had php working with the RPMs in RedHat, but I
followed the instructions from this site:
http://www.e-gineer.com/instructions/index.phtml
(BTW;excellent site)
and now I'm working with php-4.1.1 and apache_1.3.14.
But now when browse the my PHP webpage with pics on
it, I get:
Sorry, but this
I have space on a server on the internet. I have mySQL
PHP4 support. And i can easily upload the .CSV files
on the server itself.
Could you kindly help me out with the php code that
would make this possible..
Thanks,
T. Edison jr.
--- Rick Emery [EMAIL PROTECTED] wrote:
The file is located
I'm currently sending an HTTP request for
clientlogin.php?date=2002-02-12type=nl and doing this by opening a socket
connection with fsockopen, fwriting GET
/clientlogin.php?date=2002-02-12type=nl.. to the socket and then using
fgets to read the response.
How do I send a POST request using a
yea, I'm going to use MySQL for it. Tanx
Rick Emery [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I just looked at your website (http://www.filmfind.tv) to get a better
feeling for what you might be after. Based upon your comments below and
the
purpose of
See PostToHost in the archives:
http://marc.theaimsgroup.com/?l=php-generalm=92353052714384w=2
Kirk
-Original Message-
From: LaserJetter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 12:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How do I send a POST request?
I'm
Peter Janett [EMAIL PROTECTED] wrote in message
022101c1b3ef$809cf450$4de70142@peters">news:022101c1b3ef$809cf450$4de70142@peters...
$what_you_want = $HTTP_HOST . $REQUEST_URI;
Well, thanks - but it didn't work for me (don't have the $REQUEST_URI
variable
set)...
btw, my setup is: PHP 4.0.1
Philip Hallstrom [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I don't think that string actually gets sent unless the browser receives a
401 Auth Required (I think that's it) header.
Any idea how this could be done without popping up the login dialog???
-
connect to your mysql server
select the mysql database
$query = LOAD DATA INFILE datafile.csv INTO mytable .
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\' .
LINES TERMINATED BY '\n' ;
mysql_query($query) or die(error:. mysql_error());
-Original Message-
From: Thomas Edison Jr.
Perhaps use a form?
On 12/Feb/2002 19:14:48, LaserJetter wrote:
I'm currently sending an HTTP request for
clientlogin.php?date=2002-02-12type=nl and doing this by opening a socket
connection with fsockopen, fwriting GET
/clientlogin.php?date=2002-02-12type=nl.. to the socket and then
I did some research in the archives on this, but couldn't come up with a
straight answer.
I have a CGI script that uses and HTML template/form. I would like to embed
a PHP script in the template to take some of the values of the CGI and put
them in a database. I set up the database, wrote the
Hello,
I am experiencing a weird problem, hopefully someone can help me with it:
Environment:
HP-UX 11.11
PhP ver.4.1.1
libmcrypt 2.4.19
I have successfully built libmcrypt:
/opt/mcrypt/configure --disable-posix-threads
make ; make install
Library is
Hi Rick,
I tries your code but i'm constantly getting some
errors. I modified the line to try and correct the
error, and this is the code i'm using :
?php
$db = mysql_connect(localhost,mydb,pwd);
mysql_select_db(mydb,$db);
$query = LOAD DATA INFILE list.csv INTO list_try
FIELDS TERMINATED BY
is your file extension .php?
hugh
- Original Message -
From: SpyProductions Support Team [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 11:25 AM
Subject: [PHP] PHP and CGI
I did some research in the archives on this, but couldn't come up with a
straight
In this line:
if($row[account_password]==$login_name
you are missing a parenthesis character ) to end the condition with.
Richard.
[EMAIL PROTECTED] http://www.dreamriver.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, it is in a CGI script.
And I can't recompile PHP for cgi extensions. :(
-Mike
-Original Message-
From: hugh danaher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 2:43 PM
To: [EMAIL PROTECTED]; php
Subject: Re: [PHP] PHP and CGI
is your file extension .php?
I know this is probably a HTML question and not a PHP question but...
I just upgraded to Internet Explorer 6.0 and I noticed that some
websites have the ability to change the vertical scrollbar's colors.
Anybody know how to do this??
Thanks!!
CSS... here's an example:
BODY { font-size : 10pt; font-family : Arial, Helvetica, sans-serif;
scrollbar-face-color: MidnightBlue; scrollbar-highlight-color:
MidnightBlue; scrollbar-shadow-color: Gray; scrollbar-3dlight-color:
#f3f3f3; scrollbar-arrow-color: #f3f3f3; scrollbar-track-color:
On Tue, 2002-02-12 at 03:04, B. Verbeek wrote:
How do I check a string for it to only contain numbers?
if(!ereg(([0-9]+),$string)){
print It contains characters other than numbers;
}else{
print Only numbers;
}
Can anyone give some feedback...
I'm using IIS 5.0 on Windows 2000. I installed PHP 4.1.1 configured to be a
CGI interpreter.
I'm trying to require a file located on another W2K computer on our LAN with
this code:
require 'computername\\sharename\\functions.php';
However, when I try to execute this PHP script, I get this
That I know, the file with the php code needs to have the extension of .php
I absolutely don't know anything about CGI, but could you somehow include
a .php file in your script?
- Original Message -
From: SpyProductions Support Team [EMAIL PROTECTED]
To: hugh danaher [EMAIL PROTECTED];
On Tuesday, February 12, 2002, at 02:14 PM, LaserJetter wrote:
I'm currently sending an HTTP request for
clientlogin.php?date=2002-02-12type=nl and doing this by opening a
socket
connection with fsockopen, fwriting GET
/clientlogin.php?date=2002-02-12type=nl.. to the socket and then
I don't know. I was thinking about breaking it off and just doing an
include like in html. I'll try it out by tomorrow morning unless someone
else has a definitive solution. :)
Thanks for the suggestion!
-Mike
-Original Message-
From: hugh danaher [mailto:[EMAIL PROTECTED]]
http://phpclasses.upperdesign.com/browse.html/package/375/
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 3:21 PM
To: LaserJetter
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] How do I send a POST request?
On Tuesday, February 12,
Good day,
The php file can have whichever extension that you want, provided that the
webserver understands which application is associated with which extension.
If you want to run a PHP script as a CGI or without the webserver , just
install the PHP standalone executable. This is done by
Hhere's another humdinger of a question:
I am with a hosting company that doesn't want to parse PHP in HTML files
because they are afraid it will slow down their server(s) too much.
So. I really like them and don't want to move the site if I don't really
*have* to. There are some
On Tue, 2002-02-12 at 12:36, SpyProductions Support Team wrote:
Hhere's another humdinger of a question:
I am with a hosting company that doesn't want to parse PHP in HTML files
because they are afraid it will slow down their server(s) too much.
So. I really like them and don't
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Christian Blichmann) wrote:
My problem is much more trivial, how to retrieve the string the user
type into the address bar of his/her browser???
You can look over the environment vars available to you with a quick call
to phpinfo()
Hello,
As an American working in Montreal, Canada, I am very much interested in
finding out if there are any english-speaking PHP or Linux User Groups in
the area, or if fellow Montreal PHP users would like to form one.
Lets get together and spread the knowledge =)
Jason Lotito
Programmer
I am newbie here.. I am curious has session_id() the same
implementation is
SID constant?
Do they produce the same result?
I have page let's say login.php that where SID is not being parsed by
PHP and I am trying to find the cause behind (using PHP4)
$sid_value= .SID;
Hostrocket.com, one of the ISPs we host our clients web sites on, allows
us to do this by simply adding the following lines into the .htaccess
file in account's home directory..
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
I do not know if this is a general
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Spyproductions Support Team) wrote:
I am with a hosting company that doesn't want to parse PHP in HTML files
because they are afraid it will slow down their server(s) too much.
So. I really like them and don't want to move the site if I
On Tuesday, February 12, 2002, at 03:53 PM, Pax wrote:
Try get_defined_constants() to see what's in your constants array.
$sid_value= .SID;
header(location:index.php?error_message=$message$sid_value
I get the following url:
http://localhost/index.php?error_message=message+goes+here.SID
SID is defined on the *first* page request. It is only defined on later
requests *if* cookies are disabled in the browser.
Kirk
-Original Message-
From: Pax [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 1:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] session_id()
I
Hi,
I got a page, which uses frames. When a user logges in I would like to
refresh a frame, but I don't know how to do that.
Can anybody help me?
Thanks,
Morten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Cc Zona [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
You can look over the environment vars available to you with a quick call
to phpinfo() http://php.net/phpinfo.
Thanks for replying, but as Philip stated in his reply to my question
its that the actual
did you try: meta http-equiv=refresh content=0;
URL=http://my.site.com//thispage.html;
-Original Message-
From: Morten Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 3:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Refreshing a page.
Hi,
I got a page, which uses
If the login form is processed by a PHP script, just do
header(Location: newpage.html);
This will either redirect the page in the fram or redirect the whole
document in the browser window.
LJ
Morten Nielsen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
Is there already a built-in function that gets the basename of the
current file?
I wrote this:
function get_current_page_name()
{
$current_page_name = explode(/, $_SERVER['PHP_SELF']);
$current_page_name = array_slice($current_page_name, -1);
return $current_page_name;
}
but I'm
Hi PHPers,
I just moved to NYC from Germany and I'm looking for a
job here.
Where would be a good place to look?
George
__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
--
PHP General Mailing List
Thanks for the suggestions - I'll see what I can do with them! :)
-Mike
-Original Message-
From: CC Zona [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 4:02 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP not parsed in HTML
In article [EMAIL PROTECTED],
[EMAIL
I made some time to test, and no dice. The comment doesn't seem to matter.
:(
Thanks,
-Mike
-Original Message-
From: Darren Gamble [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 3:26 PM
To: 'hugh danaher'; [EMAIL PROTECTED]; php
Subject: RE: [PHP] PHP and CGI
George,
I don't have any job sources for. However, I wondered where you lived in
Germany.
Ich habe fur drei Jahre in Kaiserlautern gewohnt. Von 1985 bis 1988. Sind
Sie Deutscher oder Amerikaner im militar?
rick
-Original Message-
From: George PHP [mailto:[EMAIL PROTECTED]]
Sent:
On Tuesday, February 12, 2002, at 04:21 PM, George PHP wrote:
Hi PHPers,
I just moved to NYC from Germany and I'm looking for a
job here.
Where would be a good place to look?
Probably in Germany. The economy sucks in the States, I'm lucky to be
temping (luckier to be using PHP).
Erik
On Tue, 2002-02-12 at 13:16, Erik Price wrote:
Is there already a built-in function that gets the basename of the
current file?
I wrote this:
function get_current_page_name()
{
$current_page_name = explode(/, $_SERVER['PHP_SELF']);
$current_page_name =
Good day.
That's not a comment. The #! at the start tells the shell to execute that
as the interpreter for the script.
Are you sure that you typed it in correctly?
Did you install the PHP standalone application?
Is it installed in that location?
Did you set the file as executable?
Did you
So you want to say that PHP is going nowhere in the
States? Maybe we should be doing ASP!
On Tuesday, February 12, 2002, at 04:21 PM, George
PHP wrote:
Hi PHPers,
I just moved to NYC from Germany and I'm looking for
a
job here.
Where would be a good place to look?
Probably in Germany.
On Tuesday, February 12, 2002, at 04:26 PM, Lars Torben Wilson wrote:
echo basename($_SERVER['PHP_SELF']);
http://www.php.net/basename
Thank you Torben. Reading through the annotations on this manual entry,
it looks like I'd be safer using the home-built function after all!
Well,
Phil Schwarzmann wrote:
I know this is probably a HTML question and not a PHP question but...
I just upgraded to Internet Explorer 6.0 and I noticed that some
websites have the ability to change the vertical scrollbar's colors.
Anybody know how to do this??
Thanks!!
body{
On Tuesday, February 12, 2002, at 04:30 PM, George PHP wrote:
So you want to say that PHP is going nowhere in the
States? Maybe we should be doing ASP!
I suppose that's a matter of opinion. One thing's for sure: where I
work, ASP is the official scripting language. If my boss really
Hi,
I have a script need to be launched from terminal, and I want
it to report the script's path. Because this script is required to
be launched from command line, so those Apache env vars
have not effect work, even $PHP_SELF don't work.
Can anybody has a solution for this? Thanks in advance
Hi,
Given that it doesn't seem I can use PHP as a wrapper, I tried the
following:
AddType application/x-httpd-php .htm .html
And oddly that did not work (seems to become an unknown type,
gives me the option to download). This worked
AddType application/x-httpd-php .ghtm .ghtml
And of
On Tue, 2002-02-12 at 13:32, Erik Price wrote:
On Tuesday, February 12, 2002, at 04:26 PM, Lars Torben Wilson wrote:
echo basename($_SERVER['PHP_SELF']);
http://www.php.net/basename
Thank you Torben. Reading through the annotations on this manual entry,
it looks like I'd be
1 - 100 of 173 matches
Mail list logo