php-general Digest 16 Dec 2001 08:49:09 -0000 Issue 1055

Topics (messages 77827 through 77859):

Re: Newbie-student Database PHP Question
        77827 by: Webleycity

Re: Need high bandwidth provider for my Asian community site
        77828 by: Webleycity
        77842 by: Webleycity

Webcam on websites? Ugh!!!
        77829 by: Webleycity

Re: PHP list posting confirmation for [EMAIL PROTECTED]
        77830 by: jtjohnston

include help
        77831 by: jtjohnston

Web Based Control Panel for Hosting
        77832 by: Jeremiah Jester

include
        77833 by: jtjohnston
        77834 by: jtjohnston

__
        77835 by: jtjohnston

A primary practicall  for the pros- the easiest way to sort files in a directory by 
name or date.?
        77836 by: php
        77838 by: Michael Geier

Re: Is PHP up to task?
        77837 by: Shane Wright

Email class
        77839 by: Gerard Samuel
        77847 by: Manuel Lemos

PHP4.1.0 & Apache1.3.22 under WinXP
        77840 by: Christian Calloway

i get a warning after upgrading to 4.1.0 (repost)
        77841 by: Phillip Oertel
        77853 by: John Lim

connect to a file outside the web space.
        77843 by: Webleycity
        77844 by: Jack Dempsey
        77851 by: David

Brain dead - need help!
        77845 by: Gaylen Fraley
        77846 by: Jack Dempsey
        77848 by: Gaylen Fraley

Re: Unable to return object references from functions
        77849 by: Tom Rogers
        77850 by: Tom Rogers

Opinions, please
        77852 by: Gaylen Fraley

Re: Script like this for PHP
        77854 by: Indera

Re: Searching for a new provider
        77855 by: Indera
        77856 by: R'twick Niceorgaw

using variables
        77857 by: David Killingsworth
        77859 by: Tom Rogers

Q about php with gd
        77858 by: Joelmon2001.aol.com

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 ---

SQl
Refers to the generic database. Like PostSQl, Oracal etc.

mysql
1) Belongs to a group of people that create that database, specific vender
that distribute that database that runs on a specific form only.

2) Yes 



-------------------------------------------
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
-------------------------------------------




> From: Webleycity <[EMAIL PROTECTED]>
> Date: Fri, 14 Dec 2001 07:26:19 +0000
> To: <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Newbie-student Database PHP Question
> 
> 
> 
> 
> 
> PLAY A GAME HERE ON
> http://www.webleycity.co.uk/theblitz.html
> 
> 
> 
> ----------------------------------------------------------------
> | Website design and hosting. |
> | Your free website trial including design and webspace, contact: |
> [EMAIL PROTECTED]
> Visit: http://www.webleycity.co.uk/offers
> -----------------------------------------------------------
> 
> WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
> CORPORATE IDENTITY OR CREATE ONE FOR YOU
> 
> A treat for Powermac users
> click below to download my screensaver
> http://www.webleycity.co.uk/mac.zip
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------
> Mark Webley
> Multimedia design and development
> 
> WebleyCity Limited
> London  United Kingdom
> 
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Mobile: 07980 213 627
> 
> Fax/Tel: 0208 678 1721
> Pager 07654 581816
> http://www.webleycity.co.uk
> -------------------------------------------
> 
> 
> 
> 
>> From: [EMAIL PROTECTED]
>> Date: Wed, 12 Dec 2001 05:43:30 EST
>> To: [EMAIL PROTECTED]
>> Subject: [PHP] Newbie-student Database PHP Question
>> 
>> I have downloaded Mysql to check out.
>> 
>> 1) Mysql vs SQL: What is the difference?
>> 
>> 2} Would a web-based Access database suffice with PHP?
>> As I already know Access.
>> 
>> Appreciate clarification for my newbie questions, thank you.
>> 
>> Robin
>> 
>> -- 
>> 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]
>> 
>> 
> 
> 
> -- 
> 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]
> 
> 

--- End Message ---
--- Begin Message ---
What bandwidth would you like?

----------------------------------------------------------------
| Website design and hosting. |
| Your free website trial including design and webspace, contact: |
[EMAIL PROTECTED]
Visit: http://www.webleycity.co.uk/offers
-----------------------------------------------------------

WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
CORPORATE IDENTITY OR CREATE ONE FOR YOU

















-------------------------------------------
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
-------------------------------------------




> From: James Stewart <[EMAIL PROTECTED]>
> Date: Thu, 13 Dec 2001 18:34:31 +0000
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
> 
> On Thursday, December 13, 2001, at 06:14 PM, l0t3k wrote:
>> Sunny,
>> AFAICR, <br /> is for Netscrape, which apparently cant understand
>> <br/>
>> for some reason..
> 
> It's not a browser thing...
> 
> <br /> is the correct syntax for a line break in XHTML. All tags must be
> closed, hence the / and the white space is necessary to separate the
> element name from its closure.
> 
> All major browsers will recognise <br> but if you want to be XHTML
> compliant, <br /> should be used.
> 
> James.
> 
> --
> James Stewart
> http://www.britlinks.co.uk
> 
> 
> -- 
> 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]
> 
> 

--- End Message ---
--- Begin Message ---
Hello All

If one creates a file outside the web space on a server. How doe's one
connect to this from a HTML or PHP page?

As I understand it. It is not as simple as normal html link.


-------------------------------------------
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
-------------------------------------------




> From: Webleycity <[EMAIL PROTECTED]>
> Date: Sat, 15 Dec 2001 21:44:22 +0000
> To: James Stewart <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
> 
> What bandwidth would you like?
> 
> ----------------------------------------------------------------
> | Website design and hosting. |
> | Your free website trial including design and webspace, contact: |
> [EMAIL PROTECTED]
> Visit: http://www.webleycity.co.uk/offers
> -----------------------------------------------------------
> 
> WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
> CORPORATE IDENTITY OR CREATE ONE FOR YOU
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------
> Mark Webley
> Multimedia design and development
> 
> WebleyCity Limited
> London  United Kingdom
> 
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Mobile: 07980 213 627
> 
> Fax/Tel: 0208 678 1721
> Pager 07654 581816
> http://www.webleycity.co.uk
> -------------------------------------------
> 
> 
> 
> 
>> From: James Stewart <[EMAIL PROTECTED]>
>> Date: Thu, 13 Dec 2001 18:34:31 +0000
>> To: [EMAIL PROTECTED]
>> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
>> 
>> On Thursday, December 13, 2001, at 06:14 PM, l0t3k wrote:
>>> Sunny,
>>> AFAICR, <br /> is for Netscrape, which apparently cant understand
>>> <br/>
>>> for some reason..
>> 
>> It's not a browser thing...
>> 
>> <br /> is the correct syntax for a line break in XHTML. All tags must be
>> closed, hence the / and the white space is necessary to separate the
>> element name from its closure.
>> 
>> All major browsers will recognise <br> but if you want to be XHTML
>> compliant, <br /> should be used.
>> 
>> James.
>> 
>> --
>> James Stewart
>> http://www.britlinks.co.uk
>> 
>> 
>> -- 
>> 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]
>> 
>> 
> 
> 
> -- 
> 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]
> 
> 

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

Hello All

A client wants a webcam on his site. Does any body know what script is used
and how it works. 

Is there anyone out there with experience of this.



-------------------------------------------
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
-------------------------------------------




> From: "Stephen VanDyke" <[EMAIL PROTECTED]>
> Date: Thu, 13 Dec 2001 12:07:38 -0500
> To: <[EMAIL PROTECTED]>
> Cc: "Stephen VanDyke [NN]" <[EMAIL PROTECTED]>
> Subject: [PHP] streaming media via php
> 
> Hello PHP people :)
> 
> I have a tough one here, I wrote a content script that plays media files,
> but I can't seem to get things to actually buffer and stream as they should.
> Here's the conundrum:
> 
> http://server/media/file.asf - Media player will buffer and start playing
> before download completes
> http://server/content.php?f=media/file.asf - Media player has to download
> entire file before it starts trying to play
> 
> Here's the source of content.php, anyone see anything obvious that I'm
> missing? I've been all over the HTTP/1.1 spec and media RFCs trying to
> figure out what the heck I'm missing. Windows Media Player interprets the
> media name as "content" if that's any help. Alse, the mime types are all
> correct so that's not the issue, I'm just trying to figure out how to make
> the players buffer+play instead of download+play.
> 
> <?php
> $mime_type = strtolower(strrchr($f,'.'));
> $mime_type_array = array(
> '.asf'  => 'application/vnd.ms-asf',
> '.avi'  => 'video/x-msvideo',
> '.gif'  => 'image/gif',
> '.jpg'  => 'image/jpeg',
> '.mov'  => 'video/quicktime',
> '.mpe'  => 'video/mpeg',
> '.mpeg' => 'video/mpeg',
> '.mpg'  => 'video/mpeg',
> '.ra'   => 'audio/x-pn-realaudio',
> '.ram'  => 'audio/x-pn-realaudio',
> '.rm'   => 'audio/x-pn-realaudio',
> '.wmv'  => 'audio/x-ms-wmv'
> );
> 
> // this is our security, bleh
> if(!in_array($mime_type,array_keys($mime_type_array)))
> {
> header("Location: /error.php");
> }
> $filename = '/path/to/'.$f;
> $dlname = substr(strrchr($filename,'/'),1);
> $offset = (isset($nocache)?0:(86400 * 3));
> header("Accept-Ranges: bytes");
> header("Expires: ".gmdate("D, d M Y H:i:s \G\M\T", time() + $offset));
> header("Cache-Control: max-age=".$offset);
> header("Last-modified : ".gmdate("D, d M Y H:i:s \G\M\T",
> filemtime($filename)));
> header("Content-Length: ".filesize($filename));
> header("Content-Disposition: filename=$dlname");
> if($debugx==1)
> {
> phpinfo();
> }
> else
> {
> header("Content-Type: ".$mime_type_array[$mime_type]);
> @readfile($filename);
> }
> ?>
> 
> Thanks in advance for any help,
> Please cc me on any replies since I am not on this mailing list.
> 
> Stephen VanDyke
> 
> 
> -- 
> 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]
> 
> 

--- End Message ---
--- Begin Message ---
I have to subscribe to the mailing list now, in order to use the news group?
Somebody has some work to do :)


> Sorry for the hassle, but the volume of unsolicited commercial
> email sent to PHP mailing lists has made this step necessary.

Yeah but it's supposed to be a news server??!!

Here's my question: »:)

I have a mess of variables I HTML from a couple of different scripts,
so I combined them into fields_to_include.inc

So now, I do this:

          $news = mysql_query('select * from ccl where ... order by AU asc');

          while ($personne = mysql_fetch_object($news))
          {
          include "fields_to_include.inc";
          }

Of course my variables I now call in *.inc do not work. ...
So how do I make "$personne->AU" find it's original value using that *.inc?

---This is my fields_to_include.inc file: ------------------------------
<? php
/*
content of fields_to_include.inc
global $personne->AU; #dedfinitely does not work
I have read the FAQ.
*/

  if($personne->AU != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#AU');\
">AU</a>&gt;</b></td><td>".$personne->AU."</td></tr>\n";}

  if($personne->ST != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#ST');\
">ST</a>&gt;</b></td><td>".$personne->ST."</td></tr>\n";}

  if($personne->SD != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#SD');\
">SD</a>&gt;</b></td><td>".$personne->SD."</td></tr>\n";}

  if($personne->SC != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#SC');\
">SC</a>&gt;</b></td><td>".$personne->SC."</td></tr>\n";}

?>

--- End Message ---
--- Begin Message ---
I have a mess of variables I HTML from a couple of different
scripts, so I combined them into an include.inc.

But now, when I do this:

          $news = mysql_query('select * from ccl where ... order by AU
asc');

          while ($personne = mysql_fetch_object($news))
          {
          include "fields_to_include.inc";
          }

of course my variables I now call in *.inc do not work. ...
So how do I make "$personne->AU" find it's original value using that
*.inc?


<? php
/*
content of fields_to_include.inc
global $personne->AU; #dedfinitely does not work
I have read the FAQ.
*/

  if($personne->AU != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#AU');\
">AU</a>&gt;</b></td><td>".$personne->AU."</td></tr>\n";}

  if($personne->ST != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#ST');\
">ST</a>&gt;</b></td><td>".$personne->ST."</td></tr>\n";}

  if($personne->SD != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#SD');\
">SD</a>&gt;</b></td><td>".$personne->SD."</td></tr>\n";}

  if($personne->SC != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#SC');\
">SC</a>&gt;</b></td><td>".$personne->SC."</td></tr>\n";}

?>



--- End Message ---
--- Begin Message ---
I want to implement a web based control panel for updating email accounts,
checking account usage for all my hosted clients. Does anybody have any
experience? Are there PHP freeware packages out there that do this? Licensed
packages? Any recommendations. THanks!
JJ

--- End Message ---
--- Begin Message ---
I have a mess of variables I HTML from a couple of different
scripts, so I combined them into an include.inc.

But now, when I do this:

          $news = mysql_query('select * from ccl where ...
order by AU
asc');

          while ($personne = mysql_fetch_object($news))
          {
          include "fields_to_include.inc";
          }

of course my variables I now call in *.inc do not work. ...
So how do I make "$personne->AU" find it's original value
using that
*.inc?


<? php
/*
content of fields_to_include.inc
global $personne->AU; #dedfinitely does not work
I have read the FAQ.
*/

  if($personne->AU != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#AU');\
">AU</a>&gt;</b></td><td>".$personne->AU."</td></tr>\n";}

  if($personne->ST != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#ST');\
">ST</a>&gt;</b></td><td>".$personne->ST."</td></tr>\n";}

  if($personne->SD != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#SD');\
">SD</a>&gt;</b></td><td>".$personne->SD."</td></tr>\n";}

  if($personne->SC != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#SC');\
">SC</a>&gt;</b></td><td>".$personne->SC."</td></tr>\n";}

?>
--- End Message ---
--- Begin Message ---
I have a mess of variables I HTML from a couple of different
scripts, so I combined them into an include.inc.

But now, when I do this:

          $news = mysql_query('select * from ccl where ...
order by AU
asc');

          while ($personne = mysql_fetch_object($news))
          {
          include "fields_to_include.inc";
          }

of course my variables I now call in *.inc do not work. ...
So how do I make "$personne->AU" find it's original value
using that
*.inc?


<? php
/*
content of fields_to_include.inc
global $personne->AU; #dedfinitely does not work
I have read the FAQ.
*/

  if($personne->AU != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#AU');\
">AU</a>&gt;</b></td><td>".$personne->AU."</td></tr>\n";}

  if($personne->ST != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#ST');\
">ST</a>&gt;</b></td><td>".$personne->ST."</td></tr>\n";}

  if($personne->SD != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#SD');\
">SD</a>&gt;</b></td><td>".$personne->SD."</td></tr>\n";}

  if($personne->SC != ""){echo"<tr><td><b>&lt;<a
href=\"javascript:displayHelp('codes.htm#SC');\
">SC</a>&gt;</b></td><td>".$personne->SC."</td></tr>\n";}

?>
--- End Message ---
--- Begin Message ---
hello,
Testing? Other's message post. Mine are not. NNTP probwlem?

--- End Message ---
--- Begin Message ---
Hello friends,
Here's the question that's bugging me, explanations are under the
--------- line.

How do you
1)Sort files in a directory by date and print/echo into an html format
(and the latest article is.....)
2)Fastest way to list files by "<title>Page name</title>"

----------------------
Say you have a directory that you want to sort by date/size/whatever/
What do you think would be the best way to do it?
arrays?
MYSQL/or other DB?
string comparison?
other ideas?
----------

My sysadmin insists on database implementation- however, i have a
variety of clients that are scared of databases , or are simply
content with the provider they have, that doesn't offer DB (yes, there
are those still!)
What do you think would be the fastest and easiest way to
This is close to the famous "resource grabber" script, but not quite-
we are talking about the basic principles of {parsing a document for
certain info and echo/printing it out into html.
To keep the long question short-
-------------------------
I, must confess that i have little experience with PHP-programming-
the wonderful implementation of php-MySQL and ZEND makes it too easy
for me to put everything into a database and  forget the whole thing.

------------------------
I believe that this matter is paramount because what we're dealing
with is the most fundamental and practicall execution of a "site
engine"/ "content management system"- i.e . the best and fastest code
for sorting a directory by "<title>sort by html name </title>"
or "sort by date"
It is easily executed by XML or (RDF, etc)but, the question remains
-what do you think is the best way to execute the sorting by PHP's
sorting abilities?
As far as i know, there is no title sorting in php, as opposed to
perl/
Am i wrong?


  

-- 
Best regards,
 php                          mailto:[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
depends on how elegant you want:

passthru("ls -l | awk '{print $9}' ");        //sort by name ascending
passthru("ls -lt | awk '{print $9}' ");       //sort by modification time
descending

add -r to the ls command to reverse the order of either sort
instead of using passthru, you could use exec and pipe the information to
arrays.

----- Original Message -----
From: "php" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 15, 2001 5:24 PM
Subject: [PHP] A primary practicall for the pros- the easiest way to sort
files in a directory by name or date.?


> Hello friends,
> Here's the question that's bugging me, explanations are under the
> --------- line.
>
> How do you
> 1)Sort files in a directory by date and print/echo into an html format
> (and the latest article is.....)
> 2)Fastest way to list files by "<title>Page name</title>"
>
> ----------------------
> Say you have a directory that you want to sort by date/size/whatever/
> What do you think would be the best way to do it?
> arrays?
> MYSQL/or other DB?
> string comparison?
> other ideas?
> ----------
>
> My sysadmin insists on database implementation- however, i have a
> variety of clients that are scared of databases , or are simply
> content with the provider they have, that doesn't offer DB (yes, there
> are those still!)
> What do you think would be the fastest and easiest way to
> This is close to the famous "resource grabber" script, but not quite-
> we are talking about the basic principles of {parsing a document for
> certain info and echo/printing it out into html.
> To keep the long question short-
> -------------------------
> I, must confess that i have little experience with PHP-programming-
> the wonderful implementation of php-MySQL and ZEND makes it too easy
> for me to put everything into a database and  forget the whole thing.
>
> ------------------------
> I believe that this matter is paramount because what we're dealing
> with is the most fundamental and practicall execution of a "site
> engine"/ "content management system"- i.e . the best and fastest code
> for sorting a directory by "<title>sort by html name </title>"
> or "sort by date"
> It is easily executed by XML or (RDF, etc)but, the question remains
> -what do you think is the best way to execute the sorting by PHP's
> sorting abilities?
> As far as i know, there is no title sorting in php, as opposed to
> perl/
> Am i wrong?
>
>
>
>
> --
> Best regards,
>  php                          mailto:[EMAIL PROTECTED]
>
>
> --
> 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]
>

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

Or...

what you can do though it 'post-load' them.  Same idea, but stick images that 
are on other pages in some JS at the _end_ of the HTML and they'll load after 
the images on that page are complete.

That way, the browser is essentially preloading images for the next page the 
users is likely to visit (while the user is sitting there reading the page...)

It isnt appropriate in all situations, but it can be a useful trick... :)

--
Shane

On Saturday 15 Dec 2001 7:39 pm, René Fournier wrote:
> What you're saying makes sense--that loading ALL the nav button images
> for the whole site at once is overkill. In this case, however, it really
> isn't, since there are just to 'sets' of nav buttons--the top-level set,
> which needs to be preloaded no matter what page the user is on; and the
> products subsection set, which SHOULD be preloaded, because every visit
> will inevitably visit that section (it is the reason why any visits the
> site). I agree that if there were numerous sub-level 'sets' of nav
> button images, that loading all of them would be inefficient.
>
> ...Rene
>
> On Saturday, December 15, 2001, at 02:08  AM, Charles Williams wrote:
> > ----- Original Message -----
> > From: "René Fournier" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, December 15, 2001 1:27 AM
> > Subject: [PHP] Is PHP up to task?
> >
> >> (Now that I have your attention... :-)
> >>
> >> Here's the situation: All the navigational buttons in the site I'm
> >> working on have three different states (for mousovers--normal,
> >> mouseover, onClick). What I don't like: When I mouse over one button,
> >> it
> >> takes a second or two for the page to fetch the mouseover state of the
> >> button from the server. Now, normally, I would just write a
> >> preloadimages() function in JavaScript and preload all the button
> >> states
> >> when the pages load. BUT, this is a little harder, since this is a
> >> fairly big site (or will be) and it's not always the same buttons that
> >> need to be loaded; they can change from page to page (say, between
> >> sections, with subnav bars). That being said, I've kept one thing
> >> simple: All the buttons (and their states) are stored in the same
> >> directory, and in fact only button images are in that directory
> >> ("/nav").
> >>
> >> So here's what I would like to know: Is it possible for PHP to read the
> >> contents of a directory--all the files--and then take that array and
> >> generate some javascript preload() statements? (Of course, I'm sure it
> >> IS possible, but I would appreciate any pointers you might have
> >> before I
> >> undertake it. Maybe there's even a better way than what I can see!)
> >> What
> >> I was thinking was to preload all the nav buttons and their states in
> >> the header.inc.
> >>
> >> Thanks.
> >>
> >> ...Rene
> >
> > Rene,
> >
> > Of course this is possible.  However, I doubt if it is desirable.  The
> > more
> > visitors to your site the larger the load if you load all the graphics,
> > because each session would have it's own copy of all the graphics.  It
> > would
> > be better if you checked the page being loaded and passed a list of the
> > needed graphics needed to a function that would load ONLY those graphics
> > needed for said page.  This is not too very difficult and if run on a
> > PHP
> > caching server then the overhead is not so bad.  The hard part is
> > getting
> > the JS to work correctly (at least for me. hehe. I suck at JS).
> >
> > For example. http://clans.acnsnet.com is a package I'm working on that
> > uses
> > templates to control the layout.  Each menu item is stored in an SQL
> > backend
> > as well as the Template info (location, menu type, state, etc....).  I
> > already have a function to determine what page is active.  So finding
> > out
> > what menu items are visible is simply a matter of comparing the active
> > page
> > to the array of menu items.  I can then determin which images I would
> > need
> > to load (depending on the template in use).  This way I only load the
> > images
> > that are needed, which saves on load time and memory.
> >
> > Anyway, have fun.
> >
> > chuck
> >
> >
> > --
> > 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]
>
> ---
> René Fournier
> [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Could someone recommend a good php email class.  Im trying out 
class.phpmailer.php, but its not jiving right with me...
Thanks

--- End Message ---
--- Begin Message ---
Hello,

Gerard Samuel wrote:
> 
> Could someone recommend a good php email class.  Im trying out
> class.phpmailer.php, but its not jiving right with me...

You may find here plenty of them:

http://phpclasses.upperdesign.com/browse.html/class/2

Regards,
Manuel Lemos
--- End Message ---
--- Begin Message ---
Hi everyone,

I'm having troubles getting Apache to recognize .php files, and thus parse
them. I followed the instructions included with the PHP4.1.0 distribution,
and have PHP loaded as an Apache module, checking my services confirms this
as its description reads "Apache/1.3.22 (Win32) PHP/4.1.0". But when I
attempt to load a .php file, I will get the entire file, unparsed. I added
the following two lines to my httpd.conf file:

LoadModule php4_module C:\Apache.MySQL.PHP\PHP\sapi\php4apache.dll
AddType application/x-httpd-php .php

Am I missing something? Thanks,

Christian


--- End Message ---
--- Begin Message ---
does anyone know what

Warning: Unknown persistent list entry type in module shutdown (11) in
Unknown

means? what do i have to do to solve the problem php seems to have?

environment:
Win2k, IIS5.0, MySQL
just upgraded from PHP 4.0.6 to 4.1.0
now i get the warning msg.

any help would be appreciated.

kind regards,
phil!

--- End Message ---
--- Begin Message ---
This is a known bug with persistent database connections. Switching to
non-persistent connections or ISAPI avoids this problem.

Phillip Oertel <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> does anyone know what
>
> Warning: Unknown persistent list entry type in module shutdown (11) in
> Unknown
>
> means? what do i have to do to solve the problem php seems to have?
>
> environment:
> Win2k, IIS5.0, MySQL
> just upgraded from PHP 4.0.6 to 4.1.0
> now i get the warning msg.
>
> any help would be appreciated.
>
> kind regards,
> phil!
>


--- End Message ---
--- Begin Message ---
Hello All

If one creates a file outside the web space on a server. How doe's one
connect to this from a HTML or PHP page?

As I understand it. It is not as simple as normal html link.


-------------------------------------------
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
-------------------------------------------




> From: Webleycity <[EMAIL PROTECTED]>
> Date: Sat, 15 Dec 2001 21:44:22 +0000
> To: James Stewart <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
> 
> What bandwidth would you like?
> 
> ----------------------------------------------------------------
> | Website design and hosting. |
> | Your free website trial including design and webspace, contact: |
> [EMAIL PROTECTED]
> Visit: http://www.webleycity.co.uk/offers
> -----------------------------------------------------------
> 
> WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
> CORPORATE IDENTITY OR CREATE ONE FOR YOU
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------
> Mark Webley
> Multimedia design and development
> 
> WebleyCity Limited
> London  United Kingdom
> 
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Mobile: 07980 213 627
> 
> Fax/Tel: 0208 678 1721
> Pager 07654 581816
> http://www.webleycity.co.uk
> -------------------------------------------
> 
> 
> 
> 
>> From: James Stewart <[EMAIL PROTECTED]>
>> Date: Thu, 13 Dec 2001 18:34:31 +0000
>> To: [EMAIL PROTECTED]
>> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
>> 
>> On Thursday, December 13, 2001, at 06:14 PM, l0t3k wrote:
>>> Sunny,
>>> AFAICR, <br /> is for Netscrape, which apparently cant understand
>>> <br/>
>>> for some reason..
>> 
>> It's not a browser thing...
>> 
>> <br /> is the correct syntax for a line break in XHTML. All tags must be
>> closed, hence the / and the white space is necessary to separate the
>> element name from its closure.
>> 
>> All major browsers will recognise <br> but if you want to be XHTML
>> compliant, <br /> should be used.
>> 
>> James.
>> 
>> --
>> James Stewart
>> http://www.britlinks.co.uk
>> 
>> 
>> -- 
>> 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]
>> 
>> 
> 
> 
> -- 
> 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]
> 
> 

--- End Message ---
--- Begin Message ---
how exactly do you want to connect to it? if you want to link to it in html, then
it must be under the html doc root...if you're including, then you can specifiy
the path...

Webleycity wrote:

> Hello All
>
> If one creates a file outside the web space on a server. How doe's one
> connect to this from a HTML or PHP page?
>
> As I understand it. It is not as simple as normal html link.
>
> -------------------------------------------
> Mark Webley
> Multimedia design and development
>
> WebleyCity Limited
> London  United Kingdom
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Mobile: 07980 213 627
>
> Fax/Tel: 0208 678 1721
> Pager 07654 581816
> http://www.webleycity.co.uk
> -------------------------------------------
>
> > From: Webleycity <[EMAIL PROTECTED]>
> > Date: Sat, 15 Dec 2001 21:44:22 +0000
> > To: James Stewart <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> > Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
> >
> > What bandwidth would you like?
> >
> > ----------------------------------------------------------------
> > | Website design and hosting. |
> > | Your free website trial including design and webspace, contact: |
> > [EMAIL PROTECTED]
> > Visit: http://www.webleycity.co.uk/offers
> > -----------------------------------------------------------
> >
> > WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
> > CORPORATE IDENTITY OR CREATE ONE FOR YOU
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -------------------------------------------
> > Mark Webley
> > Multimedia design and development
> >
> > WebleyCity Limited
> > London  United Kingdom
> >
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > Mobile: 07980 213 627
> >
> > Fax/Tel: 0208 678 1721
> > Pager 07654 581816
> > http://www.webleycity.co.uk
> > -------------------------------------------
> >
> >
> >
> >
> >> From: James Stewart <[EMAIL PROTECTED]>
> >> Date: Thu, 13 Dec 2001 18:34:31 +0000
> >> To: [EMAIL PROTECTED]
> >> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
> >>
> >> On Thursday, December 13, 2001, at 06:14 PM, l0t3k wrote:
> >>> Sunny,
> >>> AFAICR, <br /> is for Netscrape, which apparently cant understand
> >>> <br/>
> >>> for some reason..
> >>
> >> It's not a browser thing...
> >>
> >> <br /> is the correct syntax for a line break in XHTML. All tags must be
> >> closed, hence the / and the white space is necessary to separate the
> >> element name from its closure.
> >>
> >> All major browsers will recognise <br> but if you want to be XHTML
> >> compliant, <br /> should be used.
> >>
> >> James.
> >>
> >> --
> >> James Stewart
> >> http://www.britlinks.co.uk
> >>
> >>
> >> --
> >> 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]
> >>
> >>
> >
> >
> > --
> > 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]
> >
> >
>
> --
> 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]

--- End Message ---
--- Begin Message ---
 Are you trying to let the user download the file? if so, can try something like this

<? 

/*Do your login checks here*/    

    define(\'FILEDIR\', \'/yourdirectory/filesfordownloads/\'); 
    $path = FILEDIR . $file; 
    
    if(!is_file($path))
    { 
        print \"File does not exist!\";
        //header(\"Location: error.php\"); 
        exit(); 
    } 
    
   //force download dialog 
    header(\"Content-type: application/octet-stream\\n\"); 
    header(\"Content-disposition: attachment; filename=\\\"$file\\\"\\n\"); 
    header(\"Content-transfer-encoding: binary\\n\"); 
    header(\"Content-length: \" . filesize($path) . \"\\n\"); 

    //send file contents 
    $fp=fopen($path, \"r\"); 
    fpassthru($fp); 
?> 

>If one creates a file outside the web space on a server. >How doe\'s one connect to 
>this from a HTML or PHP page? 
>
>As I understand it. It is not as simple as normal html >link. 
--- End Message ---
--- Begin Message ---
I know that I know the answer - it's just buried in the recesses of my mind
......

PHP has the various $HTTP_*_VARS arrays.  Is there one to get the
formliteral pairs from the hyperlinks, as in <a
href="somepage.php?var1=test">?  I want to extract the $var1 value pair.  I
know I can do this through javascript, but I want somepage.php to parse and
use the variable/value.  If there is not an array, then what is the simplest
way?

Thanks!

--
Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com/
PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite/



--- End Message ---
--- Begin Message ---
use a phpinfo() in one of your pages...that'll show you various places to get
your data...
btw, php does have the $HTTP_GET_VARS that'll have what you want...

jack

Gaylen Fraley wrote:

> I know that I know the answer - it's just buried in the recesses of my mind
> ......
>
> PHP has the various $HTTP_*_VARS arrays.  Is there one to get the
> formliteral pairs from the hyperlinks, as in <a
> href="somepage.php?var1=test">?  I want to extract the $var1 value pair.  I
> know I can do this through javascript, but I want somepage.php to parse and
> use the variable/value.  If there is not an array, then what is the simplest
> way?
>
> Thanks!
>
> --
> Gaylen
> [EMAIL PROTECTED]
> Home http://www.gaylenandmargie.com/
> PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite/
>
> --
> 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]

--- End Message ---
--- Begin Message ---
DUH!  I had tried that and it didn't work, so I panicked and posted!  Come
to find out, I had a typo.  I am so red ....  thanks!

BTW, to the others who answered privately that it's automatically there -
Not if register_globals is set to OFF, which is what I am using.  But thanks
for responding!

--
Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com/
PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite/

"Jack Dempsey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> use a phpinfo() in one of your pages...that'll show you various places to
get
> your data...
> btw, php does have the $HTTP_GET_VARS that'll have what you want...
>
> jack
>
> Gaylen Fraley wrote:
>
> > I know that I know the answer - it's just buried in the recesses of my
mind
> > ......
> >
> > PHP has the various $HTTP_*_VARS arrays.  Is there one to get the
> > formliteral pairs from the hyperlinks, as in <a
> > href="somepage.php?var1=test">?  I want to extract the $var1 value pair.
I
> > know I can do this through javascript, but I want somepage.php to parse
and
> > use the variable/value.  If there is not an array, then what is the
simplest
> > way?
> >
> > Thanks!
> >
> > --
> > Gaylen
> > [EMAIL PROTECTED]
> > Home http://www.gaylenandmargie.com/
> > PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite/
> >
> > --
> > 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]
>


--- End Message ---
--- Begin Message ---
Hi
Is this doing what you want,  seems you have to use an array to create the 
ref (just getting a handle on objects :)

<?
class test_class
{
         var $dummy="nothing";
};

Function &assigning(&$returned,&$copy,&$object)
{
                 global $success;
                 $object->dummy="original";
                 $success=1;
                 $copy=$object;
         $copy->dummy="copy";
         $returned[] = &$object;
         var_dump("In the function",$success,$returned[0],$copy,$object);
         return $object;
}

$object = assigning($returned,$copy,new test_class);
echo "<br><br>";
var_dump("Out the function",$success,$returned[0],$copy,$object);
?>


At 03:06 PM 15/12/01, you wrote:
>Hello,
>
>I am trying to return a reference from an object created inside a
>function and at the same time have the object stored in a global
>variable.
>
>It seems that when I try doing it by assigning the object reference to a
>function argument that is passed by reference, nothing is returned in
>that variable despite inside the function the argument variable seems to
>have the right value.
>
>Is this a PHP bug or this is not the right way to do it?
>
>Try the example below.
>
>Manuel Lemos
>
><?
>class test_class
>{
>         var $dummy="nothing";
>};
>
>Function not_assigning(&$not_returned,&$copy)
>{
>         global $object;
>
>         $object=new test_class;
>         $object->dummy="original";
>         $success=1;
>         $not_returned= &$object;
>         $copy=$object;
>         $copy->dummy="copy";
>         var_dump("In the function",$success,$not_returned,$copy,$object);
>         return $success;
>}
>
>$success=not_assigning($not_returned,$copy);
>
>var_dump("Out the function",$success,$not_returned,$copy,$object);
>
>?>
>
>--
>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]

--- End Message ---
--- Begin Message ---
Hi again
Got a bit sidetracked ... here is your original code :)

class test_class2
{
         var $dummy="nothing";
};

Function not_assigning(&$not_returned,&$copy)
{
         global $object;

         $object = new test_class;
         $object->dummy="original";
         $success=1;
         $not_returned[] = &$object;
         $copy=$object;
         $copy->dummy="copy";
         var_dump("In the function",$success,$not_returned[0],$copy,$object);
         return $success;
}

$success = not_assigning($not_returned,$copy);
echo "<br><br>";
var_dump("Out the function",$success,$not_returned[0],$copy,$object);

?>



At 02:15 PM 16/12/01, Tom Rogers wrote:
>Hi
>Is this doing what you want,  seems you have to use an array to create the 
>ref (just getting a handle on objects :)
>
><?
>class test_class
>{
>         var $dummy="nothing";
>};
>
>Function &assigning(&$returned,&$copy,&$object)
>{
>                 global $success;
>                 $object->dummy="original";
>                 $success=1;
>                 $copy=$object;
>         $copy->dummy="copy";
>         $returned[] = &$object;
>         var_dump("In the function",$success,$returned[0],$copy,$object);
>         return $object;
>}
>
>$object = assigning($returned,$copy,new test_class);
>echo "<br><br>";
>var_dump("Out the function",$success,$returned[0],$copy,$object);
>?>
>
>
>At 03:06 PM 15/12/01, you wrote:
>>Hello,
>>
>>I am trying to return a reference from an object created inside a
>>function and at the same time have the object stored in a global
>>variable.
>>
>>It seems that when I try doing it by assigning the object reference to a
>>function argument that is passed by reference, nothing is returned in
>>that variable despite inside the function the argument variable seems to
>>have the right value.
>>
>>Is this a PHP bug or this is not the right way to do it?
>>
>>Try the example below.
>>
>>Manuel Lemos
>>
>><?
>>class test_class
>>{
>>         var $dummy="nothing";
>>};
>>
>>Function not_assigning(&$not_returned,&$copy)
>>{
>>         global $object;
>>
>>         $object=new test_class;
>>         $object->dummy="original";
>>         $success=1;
>>         $not_returned= &$object;
>>         $copy=$object;
>>         $copy->dummy="copy";
>>         var_dump("In the function",$success,$not_returned,$copy,$object);
>>         return $success;
>>}
>>
>>$success=not_assigning($not_returned,$copy);
>>
>>var_dump("Out the function",$success,$not_returned,$copy,$object);
>>
>>?>
>>
>>--
>>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]
>
>
>--
>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]
>

--- End Message ---
--- Begin Message ---
A security question, concerning PHP and overall best practice.

I have an application that is used by users that have no control over what
version of PHP is on their server.  Some versions do not support sessions.
So, I am attempting to modify the code to accommodate this and minimize, if
not eliminate, the risk of a break-in.

Basically, index.php (pageA) can call admin.php (pageB).
pageB accepts a userid and password ($user/$pass).  At this point, these are
form variables that will be passed, via $HTTP_POST_VARS.
pageB calls pageC, which verifies the user/pass against a security file.  If
validated, then pageC is accessed.  If not, user is kicked out.

No problem so far and no variables have been exposed.  But, from pageC, you
can go down several paths.  Now to the question/opinion.  How do I validate,
w/o sessions, that pageD or pageE has been entered from pageC and not
forged?  I can pass the user/pass via a hidden field on the form of pageC,
but that exposes it.  Philosophically, this may not be a problem, since the
user has to go through pageC to get to the other ones anyway.  Use referer?
That seems like that could easily be forged.

Your thoughts?


--
Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com/
PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite/



--- End Message ---
--- Begin Message ---
Hello,

I know less Flash than I do javascript, which is pretty bad.

But thanks
Indera



Dasmeet Singh Arora wrote:

> You may also try using flash. It looks good and files are small too
>
> Peter wrote:
>
> >The "pop outs" are done using JavaScript. Its something to do with setting
> >the STYLE="visibility: hidden" property of the HTML element. I'm not sure
> >exactly how its done though.
> >If you can get your hands on a copy of IE 4 (or maybe it was IE 3!), this
> >kind of thing was done on the 'friendly error messages'. The code was very
> >simple there and easy to follow through.
> >
> >
> >
> >
> >"Indera" <[EMAIL PROTECTED]> wrote in message
> >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >
> >>Hello,
> >>
> >>I came across this FAQ and I really would like to create my FAQ like this
> >>
> >one. I was wondering if
> >
> >>someone would take a look at this link and let me know how it's created. I
> >>
> >looked at the code, but
> >
> >>can't figure out how it's done.
> >>
> >>http://www.installshield.com/ds/info/generalqa.asp
> >>
> >>Thanks
> >>Indera
> >>
> >
> >
> >
>
> --
> http://www.fedoXpress.com
> Looking for a new email address?
> http://www.fedoXpress.com



--- End Message ---
--- Begin Message ---
Hello,

This may sound like a weird question, but since I've seen two posts on it, I have to 
ask, what is a
stingray server?

Indera



R'Twick Niceorgaw wrote:

> cool.. I'm also on stingray:)
> ----- Original Message -----
> From: "Nuitari" <[EMAIL PROTECTED]>
> To: "PHP LIST" <[EMAIL PROTECTED]>
> Sent: Thursday, December 13, 2001 2:19 PM
> Subject: RE: [PHP] Searching for a new provider
>
> > I switched to Aletia in April I believe, and have been pleased.  I asked
> for
> > pdflib to be compiled on the server my site is on (stingray), and they
> did.
> > It took about 3 days.  My server has been up for 52 days 15 minutes, so
> that
> > is good...however, 2 times in the last 6 months I have been denied access
> > because the server had run out of harddrive space...It seemed like the
> > matter was taken care of relatively promptly though.
> >
> > All in all, Aletia is good bang for the buck.  I'm going to stick with
> them.
> >
> > -Jamison.
> >
> > -----Original Message-----
> > From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 13, 2001 12:35 AM
> > To: 'Indera'; [EMAIL PROTECTED]
> > Subject: RE: [PHP] Searching for a new provider
> >
> >
> > Welcome abroad Indrea.
> >
> > But, their support is not the very best in industry. Lately I have seen
> some
> > detoriation but usually my emails are answered in 1-2 days. Earlier I used
> > to find them almost 24x7 on ICQ and AIM but haven't seen them on line for
> > almost a month now. But all my emails are answered in a day or two. One
> more
> > thing, I'm very happy with their server up time though. My server has been
> > up for more than 51 days now :)
> >
> >
> >
> > --
> > 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]
> >
> >



--- End Message ---
--- Begin Message ---
Just name of one of Aletia's servers
-------------------------------------------
R'twick Niceorgaw 
98C Cedar Lane    
Highland Park, NJ 08904
USA
732-246-1434 (R)
732-801-3826 (M)
--------------------------------------------


---------- Original Message ----------------------------------
From: Indera <[EMAIL PROTECTED]>
Date: Sat, 15 Dec 2001 23:33:39 -0500

>Hello,
>
>This may sound like a weird question, but since I've seen two posts on it, I have to 
>ask, what is a
>stingray server?
>
>Indera
>
>
>
>R'Twick Niceorgaw wrote:
>
>> cool.. I'm also on stingray:)
>> ----- Original Message -----
>> From: "Nuitari" <[EMAIL PROTECTED]>
>> To: "PHP LIST" <[EMAIL PROTECTED]>
>> Sent: Thursday, December 13, 2001 2:19 PM
>> Subject: RE: [PHP] Searching for a new provider
>>
>> > I switched to Aletia in April I believe, and have been pleased.  I asked
>> for
>> > pdflib to be compiled on the server my site is on (stingray), and they
>> did.
>> > It took about 3 days.  My server has been up for 52 days 15 minutes, so
>> that
>> > is good...however, 2 times in the last 6 months I have been denied access
>> > because the server had run out of harddrive space...It seemed like the
>> > matter was taken care of relatively promptly though.
>> >
>> > All in all, Aletia is good bang for the buck.  I'm going to stick with
>> them.
>> >
>> > -Jamison.
>> >
>> > -----Original Message-----
>> > From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]]
>> > Sent: Tuesday, November 13, 2001 12:35 AM
>> > To: 'Indera'; [EMAIL PROTECTED]
>> > Subject: RE: [PHP] Searching for a new provider
>> >
>> >
>> > Welcome abroad Indrea.
>> >
>> > But, their support is not the very best in industry. Lately I have seen
>> some
>> > detoriation but usually my emails are answered in 1-2 days. Earlier I used
>> > to find them almost 24x7 on ICQ and AIM but haven't seen them on line for
>> > almost a month now. But all my emails are answered in a day or two. One
>> more
>> > thing, I'm very happy with their server up time though. My server has been
>> > up for more than 51 days now :)
>> >
>> >
>> >
>> > --
>> > 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]
>> >
>> >
>
>
>
>
>-- 
>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]
>
>
--- End Message ---
--- Begin Message ---
I'm trying to determing why this won't work.
I wish to assign graphics to variables then call them
within the HTML on my .php pages.
------test.php----------
<?
$ulo = "/images/ulo.gif";
?>

<html>
<body>
<img src="<?$ulo?>">
</body>
</html>
-------end test.php---------
The resulting output viewing the html source from the 
browser is:
----html output----------
<html>
<body>
<img src="">
</body>
</html>
-------end html output-----

there is obviously a programming error here, but after
hours of trying things I'm just missing what it is.
the <img src> tag should read 
<img src="/images/ulo.gif">

What am I missing?
      David.

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--- End Message ---
--- Begin Message ---
Hi
you need:
<img src="<?echo $ulo?>">
or
<img src="<?=$ulo?>">

Tom

At 05:39 PM 16/12/01, David Killingsworth wrote:
>I'm trying to determing why this won't work.
>I wish to assign graphics to variables then call them
>within the HTML on my .php pages.
>------test.php----------
><?
>$ulo = "/images/ulo.gif";
>?>
>
>b8126e.jpg
>-------end test.php---------
>The resulting output viewing the html source from the
>browser is:
>----html output----------
>b812e1.jpg
>-------end html output-----
>
>there is obviously a programming error here, but after
>hours of trying things I'm just missing what it is.
>the <img src> tag should read
><img src="/images/ulo.gif">
>
>What am I missing?
>       David.
>
>__________________________________________________
>Do You Yahoo!?
>Check out Yahoo! Shopping and Yahoo! Auctions for all of
>your unique holiday gifts! Buy at http://shopping.yahoo.com
>or bid at http://auctions.yahoo.com
>
>--
>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]
--- End Message ---
--- Begin Message ---
Hello, just wondering if I want to get the most out of gd 2+ with php
does it require freetype 2+? Or can I get away with freetype 1.35?

Thanks

Joel
--- End Message ---

Reply via email to