php-general Digest 12 May 2002 10:20:39 -0000 Issue 1340

2002-05-12 Thread php-general-digest-help


php-general Digest 12 May 2002 10:20:39 - Issue 1340

Topics (messages 97166 through 97211):

an sql_layer
97166 by: http://www.promoozz.org [*]
97171 by: Austin Marshall

PHP Hosting ...
97167 by: Tim Thorburn

PHP 5??
97168 by: Tim Thorburn
97169 by: Rasmus Lerdorf

RE:[PHP]PHP Hosting
97170 by: r

Re: Using function in PHP script n DOCROOT in PHP script in subfolder
97172 by: Phil Powell

PHP can't access txt files (but TCL can..??)
97173 by: Phil Powell
97174 by: Lars Torben Wilson
97175 by: Phil Powell

read all files in directory
97176 by: Andreas Indahl
97177 by: Rasmus Lerdorf
97178 by: Stuart Dallas
97180 by: Lars Torben Wilson
97181 by: olinux
97183 by: Lars Torben Wilson

Re: Best way for date/time
97179 by: olinux

Re: MySQL and RH 7.2
97182 by: David Freeman

Send html email
97184 by: Alex Shi
97185 by: Nookie
97186 by: Liam MacKenzie
97187 by: Michael Geier
97189 by: Alex Shi
97201 by: Miguel Cruz

preg_grep Help (Regular expresion)
97188 by: Brian C. Doyle

Authentication with register_globals OFF
97190 by: Mike P
97192 by: Stuart Dallas
97193 by: Mike P

Printing line "x" in a file
97191 by: Andrew Conner
97202 by: Miguel Cruz
97204 by: Austin Gonyou

Serialize/URLencode query...
97194 by: Glenn Sieb
97196 by: John Holmes
97199 by: Glenn Sieb

Yahoo/Cobalt servers/PHP
97195 by: Todd Cary
97197 by: John Holmes
97198 by: Austin Marshall

Re: setcookie()
97200 by: Miguel Cruz

[FYI] DNS resolver library
97203 by: Moriyoshi Koizumi

.vcf files and PHP Email Form(Newbie)
97205 by: webmaster.tececo.com
97206 by: Miguel Cruz
97210 by: webmaster.tececo.com

Variable Prob
97207 by: Jason Soza
97208 by: Miguel Cruz
97209 by: Jason Soza

Sending Html Pages
97211 by: Salman Ahmed

Administrivia:

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--

--- Begin Message ---

i'm sweating on this one :

function sql_fetch_row($res, $nr)
{
global $dbtype;  
switch ($dbtype) {   
 
case "MySQL":
$row = mysql_fetch_row($res);
return $row;
break;;
...
}

it iz used in a php_layer.php from phpnuke, but somehow it gives errors... if i put a 
"@" like this:

$row = @mysql_fetch_row($res);

i get no errors, but no result either. Where stands the @ for? I can't find any info 
on thizz, what's wrong?

   [ProMoozz signature script initiated]
 [Sharon equalzz Hitler]
[msg written - msg read]
  [ProMoozz signature script terminated]
http://www.kotbelasting.be - http://www.kotbelasting.be

--- End Message ---
--- Begin Message ---

Http://Www.Promoozz.Org wrote:
> i'm sweating on this one :
> 
> function sql_fetch_row($res, $nr)
> {
> global $dbtype;  
> switch ($dbtype) {   
>  
> case "MySQL":
> $row = mysql_fetch_row($res);
> return $row;
> break;;
> ...
> }
> 
> it iz used in a php_layer.php from phpnuke, but somehow it gives errors... if i put 
>a "@" like this:
> 
> $row = @mysql_fetch_row($res);
> 
> i get no errors, but no result either. Where stands the @ for? I can't find any info 
>on thizz, what's wrong?
> 
>[ProMoozz signature script initiated]
>  [Sharon equalzz Hitler]
> [msg written - msg read]
>   [ProMoozz signature script terminated]
> http://www.kotbelasting.be - http://www.kotbelasting.be
> 

First off, anyone using phpnuke is on their own, try phpnuke.org for 
help.  But an @ before a function suppresses error messages, it doesn't 
make errors go away, so it's doing precisely what it is supposed to.  I 
also see two ;'s in a row, perhaps that is the problem, or perhaps the 
query was bad and that renders fetch_row useless.

We or anyone would have a far better chance of helping out if you 
explained what the error is... it will be alot easier than debunking the 
  code of phpnuke on our own.




--- End Message ---
--- Begin Message ---

Hi,

I've about had it with my current hosting company as they've turned off SSH 
for the past month due to "security reasons" which means I can no longer 
add/remove tables from my MySQL database.  Looking at two other hosting 
companies - SBC Webhosting - www.webhosting.com and Verio - www.verio.com

Does anyo

[PHP] Sending Html Pages

2002-05-12 Thread Salman Ahmed

Hi,

I am trying to send html pages via email, that is instead of sending plain text format 
to the client I am trying to send Rich Text using mail function of PHP. At first I was 
sending 

--
Hello Bob,

Thanks for downloading this from my site 
--

BUT for Rich Text I am doing
 
--














Hi, 

Thanks for downloading this from my site 





--

But what happens is instead of sending html page it sends as a text with all code 
displayed as it is without being parsed.

Please tell what can I do to send rich text emails as the this one u are reading to 
the clients using PHP mail function.

Kind Regards
Salman



<    1   2