RE: [PHP-DB] SQL problem

2001-09-01 Thread Robert Vukovic
That is the strange thing, there are no error messages. I simply don't get short_desc with list($image,$desc)=mysql_fetch_row($res1); $desc is empty. I will try your query. > -Original Message- > From: Dobromir Velev [mailto:[EMAIL PROTECTED]] > Sent: petak 31. avgust

RE: [PHP-DB] resizing image with php - what is the quality?

2001-09-01 Thread Mika Tuupola
On Sat, 1 Sep 2001, Seb Frost wrote: > imagecopyresized: crap > imagecopyresampled: good but requires gd > 2.0 You could also use php_imlib's imlib_create_scaled_image() -- Mika Tuupola http://www.appelsiini.net/~tuupola/ -- PHP Database Mailing List (http://ww

[PHP-DB] MySql database data has html code in it

2001-09-01 Thread CrossWalkCentral
Hello Another question for the pros. I have a Mysql database which contains a table labled html in this table I have some short html scripts I have created a search for my scripts and when I Echo them (example code below) It only shows me the text and not the html script itself Echo ($code); Is

[PHP-DB] Form that submits attachments

2001-09-01 Thread Ali Nayeri
Hi guys I was wondering if anyone here knows a tutorial about creating a php file that can process the attachment submitted by an HTML form. I created an HTML form and put in it and made the action to form.php. I want form.php to send an e-mail with the form's information and the attachment. I

RE: [PHP-DB] MySql database data has html code in it

2001-09-01 Thread Ali Nayeri
Hi, I'm just a newbie and don't know that much but would putting: Echo ($code); solve the problem. That's what most people use to display HTML code on an HTML page. As I said I'm new and I never tried it. But you can try and see if it works. Ali -Original Message- From: CrossWalkCent

Re: [PHP-DB] MySql database data has html code in it

2001-09-01 Thread CrossWalkCentral
Yea I tried that before I posted I even tried editing the data in the table to but the before and after and it still will not show it. -- Cross Walk Central www.crosswalkcentral.net Support Center Your Web Hosting Community! "Ali Nayeri" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]"

Re: [PHP-DB] MySql database data has html code in it

2001-09-01 Thread Paul Burney
on 9/1/01 7:12 PM, CrossWalkCentral at [EMAIL PROTECTED] wrote: > Yea I tried that before I posted I even tried editing the data in the table > to but the before and after and it still will not show it. You need to encode the < and > characters. You can do so via the htmlspecialchars() funct

[PHP-DB] Make Money For Sending E-mail

2001-09-01 Thread fred . bill
Dear [EMAIL PROTECTED], > BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!! > > > Before you say ''Bull'', please read the following.> > This is the letter > you > have been hearing about > on the news lately. Due to> the popularity of > this > letter on the Internet, a national weekly news> > progr

Re: [PHP-DB] MySql database data has html code in it

2001-09-01 Thread CrossWalkCentral
That did it thanks for the help. -- Cross Walk Central www.crosswalkcentral.net Support Center Your Web Hosting Community! "Paul Burney" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > on 9/1/01 7:12 PM, CrossWalkCentral at [EMAIL PROTECTED] wrote: > > > Yea

[PHP-DB] Re: Really weird problem: cross-server databasing *g*

2001-09-01 Thread Markus Mayer
Forgot to mention ... the only way to access the database on B is to connect to "localhost" there. -- PHP Database 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

[PHP-DB] How can you hide database login passwd in your script?

2001-09-01 Thread Michael
How can you hide database login passwd in your script? I hate having to have scripts with passwords in it that can be viewed by others. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact t

RE: [PHP-DB] How can you hide database login passwd in your script?

2001-09-01 Thread Lars B. Jensen
a .php file is only viewable on the server if users have access to the site through eg. FTP, Telnet or alike. When displaying or trying to download a PHP file, the server will first execute it and return the "result" being your HTML output or result of function, without login information nor PHP

RE: [PHP-DB] How can you hide database login passwd in your script?

2001-09-01 Thread Lars B. Jensen
An option would be using the Zend Encoder *snip* The Zend Encoder Unlimited allows code developers to encode their PHP script before distributing it. By saving the code in a closed Zend Intermediate Code format, the Encoder allows developers to protect source code from copyright infringement, ena

[PHP-DB] A timed refresh ?

2001-09-01 Thread Dave Carrera
Hi All, Could someone please point me to somewhere or give pointers of guidance, to a way of solving this issue. I have an array of which shows an image in a place on my page which shows the next on the list when the page refreshes, this works fine. What I want to do is have the image refresh on

Re: [PHP-DB] Really weird problem: cross-server databasing *g*

2001-09-01 Thread Doug Semig
Hi Markus-- It sounds like the provider that only allows local connections to their database went through some pains to protect their database. I suggest talking to them about your needs and not trying to circumvent their security measures. Maybe they have a system to open up their database for

[PHP-DB] Really weird problem: cross-server databasing *g*

2001-09-01 Thread Markus Mayer
Hi folks! Let's say you have two servers, on the first one ("A") you have your website containig all those nice php scripts and co but only a crazy small database (2 megs), on the second one ("B") you have a really big database available but the problem, that the provider won't allow you to acces