Well, I'm not sure if this is what you're looking for but... if you name the
file with a .php extension (instead of .txt or .inc) then your password is
protected.
For example, you have a password declared like this:
$my_db_username = 'MyUserName';
$my_db_password = 'MyPassWord';
And it's
e contents of the script, since the
directory you place it in would not be readable by the
web server.
--- "Edwin @" [EMAIL PROTECTED] wrote:
Well, I'm not sure if this is what you're looking
for but... if you name the
file with a .php extension (instead of .txt or .inc)
then your pass
Yeah, I'm scared...
Please excuse me but may I say that it seems like you've sent some wrong
info to the wrong mailing list?
I use PHP NOT ASP, I use MySQL or PostgreSQL or Oracle but NOT M$ SQL
Server. And IIS? Of course, some people use it (perhaps) because of some
unavoidable
Actually, I DID read the articles before I replied.
If you read it again, the basic problem is not about any extended SQLServer
functionality--it's about how ASP works AND how the database server was
configured AND how Window$ works.
Sorry, but the attacks mentioned CANNOT be done on any of
Oops! Sorry! I meant to say apostrophe and not single quotes...
And sorry 'bout this additional post...
Regards,
- E
Actually, I DID read the articles before I replied.
If you read it again, the basic problem is not about any extended
SQLServer functionality--it's about how ASP works AND
was working perfectly
fine--without doing anything special in httpd.conf...
- E
Hi, Edwin. Of course... thanks!
Apache version 1.3.23. Definitely not IIS.
Robert Orenstein
Perforce Software
Try running ?php phpinfo(); ? and I'm sure you'll find out
something about the Apache version
And still, if this doesn't work, why not install PHP as well--with
Apache... (Perhaps, there must really be some good reason why not...)
I'm not sure what was meant by
A Windows 2000 takes
care of our network internet connectivity
but if a router is present, why not just map HTTP request
I think one of the (if not THE) best implementation of frames with
PHP/Javascript (HTML,CSS...) is phpmyadmin...
http://www.phpmyadmin.net/
Of course, there could be a lot of others...
- E
The only way to talk to multiple frames is with javascript. yuk.
Justin French
on 15/08/02 2:37
Just a thought...
If you have downloaded 10 packages perhaps you need to upgrade ALL of them
AT THE SAME TIME.
So, instead of doing:
rpm -Uvh php-4.1.2-7.i386.rpm.
Try this:
1. Put all packages in the same folder
2. rpm -Fvh *.rpm
The "F" (instead of "U") updates all INSTALLED packages
Looks like you're updating your table so instead of "INSERT INTO...", try:
"UPDATE malibu_data SET ..."
HTH,
- E
I get this error:
Error submiting paragraph.You have an error in your SQL syntax near
'WHERE page_name='features' AND par_id='13' ' at line 1
But my code, I think is fine:
//
Something like this should work:
after mysql_connect() and mysql_select_db() ...
$sql = "SELECT color_id,color FROM mytable";
$result = mysql_query($sql);
echo 'form blah,blah,blah';
echo 'select name="color_id"';
while ($row = mysql_fetch_array($result)){
printf("option
. thank @ Edwin for your suggestion for upgrading.
You're welcome!
--
---
TrafficBuilder Network:
http://www.bestadv.net/index.cfm?ref=7029
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andrew,
It's true that "the time you use in coding and figuring out ways to make
PHP faster would be greater than..."
The task mentioned might be a "one-off thing" NOW. However, the techniques
that we can learn can also be applied in future task, so, I'm still
interested in the answer to the
I might be wrong but I think the only (easy) way you can view the source is
to "Save as..." the page first into xxx.html then open that file and view
the source...
In other words:
1. Using N6, go to the page where you can't "view source"
2. Click on "File" - "Save as..."
3. Save it to desired
I use vim most of the time... but how 'bout some bluefish?
http://bluefish.openoffice.nl/
Or, try using your fav editor with wine... http://www.winehq.com/
(I wouldn't want to do that though...)
- E
How 'bout
I just switched over to Red Hat Linux from Win2k...
Only to find my fav editor
I think there's a way how to fix that. But don't bother to ask--I couldn't
do it and I forgot...
BTW, if you know any that can convert from (Japanese) euc-jp to sjis and
vice versa, I'll be happy to learn about it.
TIA
- E
On Friday 09 August 2002 20:34, [EMAIL PROTECTED] wrote:
I use vim
it...
- E
PS
I hope it has good support of Japanese as well...
I am using Quanta 2.0 and loving it.
http://quanta.sourceforge.net
Oh My Gosh they have a new verison out.. 3.0 Time to upgrade.
Paul
@ Edwin wrote:
I use vim most of the time... but how 'bout some bluefish?
http
Quanta 2.0 and loving it.
http://quanta.sourceforge.net
Oh My Gosh they have a new verison out.. 3.0 Time to upgrade.
Paul
@ Edwin wrote:
I use vim most of the time... but how 'bout some bluefish?
http://bluefish.openoffice.nl/
Or, try using your fav editor with wine...
http
I'm sure you can also use vim or jedit or Zend's mentioned earlier.
Or, visit this site for more: http://php.weblogs.com/editors
- E
Is there a php editor for Win2k ?
_
ウィルスメール、迷惑メール対策なら MSN Hotmail
'Just wanted to make a few comments...
I got my job because of PHP. All of my company's projects were coded in PHP. (Old ones
that were not are soon to be converted.)
Zend? I convinced my boss to buy the encoder--I didn't have to pay for it...
Thanks! Thanks to Zend! Thanks to the PHP
AM 1/4/2002, Jonathan David Edwin Wright wrote:
It's actually alot easier that you think!
for the news file, just create a file called 'news' (minus ' of course!
;) in your http root, then create (or append) a .htaccess with the
following lines:
Files news
ForceType application/x-httpd-php
Hiya,
Personally, I use the following bit of code. All it does is take a 14 digit
timestamp and convert it into a unix timestamp:
function date($date) {
//Extract the parts from the date
$year = substr($date, 0, 4);
$month = substr($date, 4, 2);
$day = substr($date, 6, 2);
It's actually alot easier that you think!
for the news file, just create a file called 'news' (minus ' of course! ;)
in your http root, then create (or append) a .htaccess with the following
lines:
Files news
ForceType application/x-httpd-php
/Files
That tells Apache to parse news via
?
Regards,
Edwin
--
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 PROTECTED]
Hi Todd,
Has Apache been restarted ton use the new libphp4.so? And if so, does it use
the correct one (you might have another one on your system)?
If Apache starts without probs, check the httpd.conf for php mime types.
What does Apache respond if you load your test script?
Regards,
Edwin
Todd
his also
happens when I access the file from a local drive.
Anyone got a clue ?
Edwin.
--
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 PROTECTED]
501 - 526 of 526 matches
Mail list logo