>
>Help!
>
>I am getting the following error message for :
> $link=mysql_connect("localhost","$user","$pass"); // line 34
>?>
>
>Fatal error: Call to undefined function: mysql_connect() in
/home/www/test.somename.org/aux/db-mod.php on line 34
>
>I have used this call successfully on php v4.0.6,
Try this Jay,
http://us.php.net/mirrors.php
(A mirror PLUS a list of mirrors...)
- E
>
>Can someone give me a URL for a php.net mirror? I am having trouble with
>access...
>
>Thanks!
>
>Jay
>
>***
>* Texas PHP Developers Conf Spring 200
All depends on your host and how phpMyAdmin was configured. It's better to
ask them directly...
- E
>
>Is it possible to use phpMyAdmin to add new databases (not tables whole
>databases) to my website? I ask because currently my host has provided
>me with one database and I don't want to mix dat
It seems like if you "turn on" register_globals in php.ini, everything
might just work... but, it's strange because you said that if you type
everything exactly as they were in the new server everything works!
Strange...
Anyway, why not try it this way. Don't turn register_globals on (you
shou
>
>Would I be able to install it along side 1.3 and run it on a separate
port?
I know some who installed two 1.3s in two different folders, run two
different daemons, in two different ports. I think it should work with 1.3
and 2.0 as well...
- E
>
>Cheers
>John Wards
>SportNetwork.net
>
>
>-
Also, somebody has already posted (2 weeks ago?) a similar or related
question. I think, the answers given also apply to this question as well.
- E
>
>If you mean that you want to add attachments to emails it is
>possible of course...
>Try Phpmailer...
>I recommend you to print out a copy of th
of
>PHP outputting the 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... i
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'
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 wor
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
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 circumstances
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/0
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 reques
code 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 and I'm sure you'll
Hi there,
Try running and I'm sure you'll find out something
about the Apache version. (If, indeed, you're running Apache... Could it be
that you're running IIS and Apache is down? Of course, I could be wrong...)
- E
>
>Hi,
>
>I'm running the simplest possible script to test headers:
>
> h
how can do uninstallation? Thanks in advance!
>
>Alex
>
>P.S. thank @ Edwin for your suggestion for upgrading.
>
You're welcome!
>--
>---
>TrafficBuilder Network:
>http://www.bestadv.net/index.cfm?ref=7029
>
>
>--
>PHP General
Something like this should work:
after mysql_connect() and mysql_select_db() ...
$sql = "SELECT color_id,color FROM mytable";
$result = mysql_query($sql);
echo '';
echo '';
while ($row = mysql_fetch_array($result)){
printf("",$row["color_id"]);
printf("%s",$row["color"]);
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 fin
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 o
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
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 o
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 h
;If yes, well, perhaps it's time to start using 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
>>&g
time to start using 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 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
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 edit
'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 community
d.
>
>Any thoughts?
>
>At 09:06 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
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:
ForceType application/x-httpd-php
That tells Apache to parse news via PHP. As what you'v
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
efore?
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]
is image is just a normal JPG (1536x1024) taken directly from my camera.
GetImageSize however, thinks it's dimensions are: 51088x38655 ??? This 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 - 533 of 533 matches
Mail list logo