Re: [PHP] Re: attaching a custom icon to a file on server side

2004-08-29 Thread grahama
Is there another way to pull this offmaybe if it was a Windows Server ? or compressing the text file and an ico file on the server before download ? g On Aug 29, 2004, at 2:54 PM, FrzzMan wrote: [EMAIL PROTECTED] wrote: I want to attach a custom icon to a dynamically created text file on th

[PHP] attaching a custom icon to a file on server side

2004-08-29 Thread grahama
I want to attach a custom icon to a dynamically created text file on the server-side when the user downloads the file to his desktop, there is a custom icon...ico file attached to it... is this possible ? g -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] php and SMS

2004-08-28 Thread grahama
I want to send SMS Text messages to cell phones from my server app I would also like cell phones to be able to send text messages back to my app how does one go about doing this ? Can I do a 'get' or a 'post' to some kind of sms gateway url ? does anyone know what the costs are for something

[PHP] attach an ICO file to a text file...then downloading to the user

2004-08-27 Thread grahama
is it possible to add a custom icon to a text file on the server side..and then download the completed file to the user's desktop would you put some type of AddType into the htacccess folder to do this ? like AddType image/x-icon .ico can php do something like this ? many thanks g

[PHP] attach ICO [icon] files to a file thru php

2004-06-23 Thread grahama
is it possible to attach a custom icon [like an ICO file on the server] to a file thru php ? I want to automatically generate a generic text file [ which is XML that launches a Quicktime Movie] that has a custom icon attached to it... then, I want to automatically send that newly created file

Re: [PHP] how to iterate over fields names with mysql_fetch_assoc

2004-06-19 Thread grahama
thanks...that is what I had used previously :) Another php coder had given me a hint that I could just take each incoming row on the fly with $row['artist_name'] without reading everything into an array: What I had previously was: while ($row = mysql_fetch_assoc($result)) { $playlist[] = $ro

[PHP] how to iterate over fields names with mysql_fetch_assoc

2004-06-19 Thread grahama
How do I iterate over fields when I perform the below script: each row has: artist_name,urlPath,biography as fields while ($row = mysql_fetch_assoc($result)) { # if the current field name is 'artist_name', do something switch($GetCurrentFieldNameintheCurrentRow) { case $row[ 'field name i

[PHP] creating a nested multidimensional array from a query

2004-06-13 Thread grahama
Hi :) I am on my second week of php so be gentle I am creating an XML file out of a mysql query with nested arrays. Currently I can get 1 element and 1 child with a properly formatted XML file with the below script . My question is: How do I add 3 to 4 more child elements to the below 'playlis

[PHP] Multidimensional Array advice from a newbie

2004-06-12 Thread grahama
Hi :) I am creating an XML file out of a mysql query with nested arrays. Currently I can get 1 element and 1 child with a properly formatted XML file with the below script . My question is: How do I add 3 to 4 more child elements to the below 'playlist' array ? Currently ,I have one parent 'Ar