php-general Digest 3 Jul 2008 03:50:35 -0000 Issue 5547

Topics (messages 276224 through 276240):

Re: CURL de-bugging: So why am I not getting the results page on the target 
site?
        276224 by: Boyd, Todd M.

Using zend_hash_find when key is of Integer type
        276225 by: Ambrish

Variable not showing up.
        276226 by: Steve Marquez
        276227 by: Jim Lucas

how to create a slide show using PHP5
        276228 by: philip
        276230 by: Bastien Koert
        276232 by: Bastien Koert
        276235 by: Haluk AKIN
        276236 by: tedd
        276237 by: Børge Holen
        276238 by: philip
        276240 by: Michael Kubler

Log files
        276229 by: Mark Bomgardner
        276234 by: Børge Holen
        276239 by: Chris

Re: Inspiration for a Tombstone.
        276231 by: Daniel Brown

Re: URL Rewrite
        276233 by: Børge Holen

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 ---
> -----Original Message-----
> From: Chris [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 01, 2008 9:42 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] CURL de-bugging: So why am I not getting the
results
> page on the target site?
> 
> ioannes wrote:
> > I didn't get any brave response on this, but given the other thread
> on
> > 'encription' I was wondering could anyone decrypt the __VIEWSTATE
> string
> > at the end of this message.  It is part of the input page whose
> results
> > page I am trying to retrieve back onto my server for further php
> work.
> > I replicated the source from that input page onto a page on my
> server,
> > and when I click the submit button it correctly goes to the target
> > results page, on the other site though, however it did not work
> without
> > the whole of the string below.  The experiment proved though that
> > without the __VIEWSTATE the results page will not return.  So I am
> just
> > wondering, as I have not been able to repeat this using curl, what
> the
> > **** is included in that string. There's a challenge for anyone with
> > whatever resources it takes.
> 
> echo base64_decode($view_state_string);
> 
> viewstate in asp.net is like sessions in php (I believe, I could be
> completely wrong :P).

Ehrm... you're not *completely* wrong. ;) I do most of my programming at
work in ASP.NET/VB.NET, and I've come to understand that the VIEWSTATE
in an ASP.NET page is more or less for retaining form values and
client-side settings. IIS/ASP.NET still uses sessions--and in much the
same way as PHP.


Todd Boyd
Web Programmer




--- End Message ---
--- Begin Message ---
Hi All,

I am writing a PHP extension and over here I am trying to use zend_hash_find
API to search for key in a hash. But the problem here is "my key is an
integer and not *char". So this zend_hash_find will not work.

Can anyone tell me how can I use zend_hash_find (or any other API) to search
key, where key is of integer type?

Regards,
Ambrish Bhargava
-- 
View this message in context: 
http://www.nabble.com/Using-zend_hash_find-when-key-is-of-Integer-type-tp18239318p18239318.html
Sent from the PHP - General mailing list archive at Nabble.com.

--- End Message ---
--- Begin Message ---
Greetings,

The following code works in every way except one. The variable, $linkspage, in the link, will not replace with information from the database for some reason. No matter what else I put in $id_num, $filename or whatever it replaces, but not $linkspage. The variable does work above, in the query.

Does this make sense? I hope so.

Thanks for any help.

<?

include '../cms/cnx.php';
$linkspage = $_GET["linkspage"];

/* Performing SQL query */
$query = "SELECT * FROM cms_pages WHERE linkspage='$linkspage' ORDER BY id_num DESC";
$result = mysql_query($query) or die("Query failed");
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
extract ( $line );

?>
<a class="subnav" href="<?php print "$filename?linkspage= $linkspage"; ?>">
<?

 if ($filename = str_replace('.php','',$filename)) {
                        
                        echo ''.$filename.'';
        }
                echo '  </a>';

}

?>

--
Steve Marquez
Marquez Design
e-mail: [EMAIL PROTECTED]
web: http://www.marquez-design.com


--- End Message ---
--- Begin Message ---
Couple things, read in-line...

Steve Marquez wrote:
Greetings,

The following code works in every way except one. The variable, $linkspage, in the link, will not replace with information from the database for some reason. No matter what else I put in $id_num, $filename or whatever it replaces, but not $linkspage. The variable does work above, in the query.

Does this make sense? I hope so.

Thanks for any help.

<?

I suggest using <?php instead of short tags...  anyways...


include '../cms/cnx.php';
$linkspage = $_GET["linkspage"];


Holly cow, clean this variable before you use it in an SQL statement!!!

Use mysql_real_escape_string() if nothing else.

/* Performing SQL query */
$query = "SELECT * FROM cms_pages WHERE linkspage='$linkspage' ORDER BY id_num DESC";

What are the name of all the columns in this table? Could one of them be called 'likespage' by change?

$result = mysql_query($query) or die("Query failed");
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
extract ( $line );

Never, Never, Never run extract like this.  Refer to the


?>
<a class="subnav" href="<?php print "$filename?linkspage=$linkspage"; ?>">
<?

 if ($filename = str_replace('.php','',$filename)) {
echo ''.$filename.'';

What is this for?  Just use

echo $filename;

    }
        echo '    </a>';

}

Wait, just replace the entire previous code with this

Note: long tag instead of short :)
<?php

# ummm...  your stuff here....
include '../cms/cnx.php';

# Note: your_cleaner_function() refers to a function that you built that cleans
# and validates the input.  It is nothing that is built into PHP.
$linkspage = your_cleaner_function($_GET["linkspage"]);

/* Performing SQL query */ # nope, build query
# Please remember to escape your data!!!!!
$SQL = "SELECT  *
        FROM    cms_pages
        WHERE   linkspage='".mysql_real_escape_string($linkspage)."'
        ORDER BY id_num DESC";

# Perform query has been moved here.
# Check to see if the the query failed
if ( ( $result = mysql_query($SQL) ) !== false ) {

  # Loop through result set, I used *_fetch_assoc() instead of *_fetch_array
  # It is less typing!  But then again, I guess my comments make up the
  # difference in the savings.  :)
  while ( $line = mysql_fetch_assoc($result) ) {

    # echo each link
    echo "<a href='{$filename}?linkspage={$linkspage}' class='subnav' >" .
         str_replace('.php', '', $filename) . "</a>";

  }

} else {

  # well duh...
  echo 'No results!';

}

?>

their is no need for a condition, because the way that you have it, if it fails, then it doesn't print anything at all.



?>



--
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
       and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
    by William Shakespeare


--- End Message ---
--- Begin Message ---
Hi everyone,

I want to create a slide show of photos for my web site. How is this done using php5? I am using Opensuse 10.3, Apache, PHP5.

TIA for any assistance,

Philip

--
Philip Ramsey
learning PHP and MySQL for building a better world
philipramsey.is-a-geek.net

--- End Message ---
--- Begin Message ---
On Wed, Jul 2, 2008 at 4:37 PM, philip <[EMAIL PROTECTED]> wrote:

> Hi everyone,
>
> I want to create a slide show of photos for my web site. How is this done
> using php5? I am using Opensuse 10.3, Apache, PHP5.
>
> TIA for any assistance,
>
> Philip
>
> --
> Philip Ramsey
> learning PHP and MySQL for building a better world
> philipramsey.is-a-geek.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
2 parts to this

1. pull a series on [random] images from the system to show the user
2. client side javascript code to load the images in a slide show fashion

You may want to get an existing one and pull it apart to see how they've
done it

-- 

Bastien

Cat, the other other white meat

--- End Message ---
--- Begin Message ---
On Wed, Jul 2, 2008 at 5:02 PM, philip <[EMAIL PROTECTED]> wrote:

> Bastien Koert wrote:
>
>>
>>
>> On Wed, Jul 2, 2008 at 4:37 PM, philip <[EMAIL PROTECTED]<mailto:
>> [EMAIL PROTECTED]>> wrote:
>>
>>    Hi everyone,
>>
>>    I want to create a slide show of photos for my web site. How is
>>    this done using php5? I am using Opensuse 10.3, Apache, PHP5.
>>
>>    TIA for any assistance,
>>
>>    Philip
>>
>>    --    Philip Ramsey
>>    learning PHP and MySQL for building a better world
>>    philipramsey.is-a-geek.net <http://philipramsey.is-a-geek.net>
>>
>>    --    PHP General Mailing List (http://www.php.net/)
>>    To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>> 2 parts to this
>>
>> 1. pull a series on [random] images from the system to show the user
>> 2. client side javascript code to load the images in a slide show fashion
>>
>> You may want to get an existing one and pull it apart to see how they've
>> done it
>>
>> --
>>
>> Bastien
>>
>> Cat, the other other white meat
>>
> Hi Bastien,
>
> Thank you for your quick response. Where may I find sample? I tried
> searching the web but only found samples and tutorials that required flash
> for the actual slide show. Since I run Linux and Adobe/Macromedia do not
> make a flash editor for Linux, flash is not an option.
>
> TIA,
>
> Philip
>

google php slide show

Did you mean: php
*slideshow*<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=php+slideshow&spell=1>

zinkwazi.com » *PHPSlideShow* <http://www.zinkwazi.com/wp/scripts/>Feb 2006:
*phpslideshow* v0.9.6 now supports JavaScript image preloading! *...* *
PHPSlideShow* is the easiest way to create a web based *slide show* from a *
...*
www.zinkwazi.com/wp/scripts/ - 31k -
Cached<http://209.85.215.104/search?q=cache:DcvWtM61AHMJ:www.zinkwazi.com/wp/scripts/+php+slide+show&hl=en&ct=clnk&cd=1&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:www.zinkwazi.com/wp/scripts/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
*PHP*/SWF *Slideshow* > Introduction <http://www.maani.us/slideshow/>A
simple, yet powerful *PHP* tool to create attractive web slideshows from
dynamic image files and data.
www.maani.us/*slideshow*/ - 8k -
Cached<http://209.85.215.104/search?q=cache:yeRSCKkwIPIJ:www.maani.us/slideshow/+php+slide+show&hl=en&ct=clnk&cd=2&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:www.maani.us/slideshow/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
*PHP*/SWF *Slideshow* >
Tutorial<http://www.maani.us/slideshow/index.php?menu=Tutorial>If
*slideshow*.*php*, *slideshow*.swf, or sample.*php* aren't in the same
directory as *...* The path for *slideshow*.*php* must be relative to
prevent the server from *...*
www.maani.us/*slideshow*/index.*php*?menu=Tutorial - 11k -
Cached<http://209.85.215.104/search?q=cache:-8Cc5WfMh_YJ:www.maani.us/slideshow/index.php%3Fmenu%3DTutorial+php+slide+show&hl=en&ct=clnk&cd=3&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:www.maani.us/slideshow/index.php?menu=Tutorial>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
More results from www.maani.us
»<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=+site:www.maani.us+php+slide+show>
freshmeat.net: Project details for *PHP
Slideshow*<http://freshmeat.net/projects/phpslideshow/>
*PHPSlideShow* is a little script that creates a web based *slide show* with
NEXT and BACK buttons to *...* http://www.zinkwazi.com/scripts/*phpslideshow
*.tar.gz *...*
freshmeat.net/projects/*php**slideshow*/ - 22k -
Cached<http://209.85.215.104/search?q=cache:Jwv60x96TXcJ:freshmeat.net/projects/phpslideshow/+php+slide+show&hl=en&ct=clnk&cd=4&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:freshmeat.net/projects/phpslideshow/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
The *PHP* Resource Index: Complete Scripts: Images and Graphs: *Slide*
*...*<http://php.resourceindex.com/Complete_Scripts/Images_and_Graphs/Slide_Shows/>Version:
1 - Released: 08/10/07 - Free - Requirement(s): *PHP* 4/5, Jump to URL. A
customizable script which creates a user-navigated *slide show* from any *
...*
*php*.resourceindex.com/Complete_Scripts/Images_and_Graphs/*Slide*_*Show*s/
- 28k - 
Cached<http://209.85.215.104/search?q=cache:i3J3EI2dQrQJ:php.resourceindex.com/Complete_Scripts/Images_and_Graphs/Slide_Shows/+php+slide+show&hl=en&ct=clnk&cd=5&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:php.resourceindex.com/Complete_Scripts/Images_and_Graphs/Slide_Shows/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
Web Photo Gallery Software, *PHP* Photo Gallery Script, Web Site
*...*<http://www.gallarific.com/demo.php>Gallarific
- Web Photo Gallery Software Written in *PHP*. The World's Most Popular
Photo Gallery for Web Sites TM. Home Page · Video Tour · Customization *...*
www.gallarific.com/demo.*php* - 10k -
Cached<http://209.85.215.104/search?q=cache:WMbNkA745MIJ:www.gallarific.com/demo.php+php+slide+show&hl=en&ct=clnk&cd=6&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:www.gallarific.com/demo.php>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
*Slide Show* <http://www.codewalkers.com/c/a/Miscellaneous-Code/Slide-Show/>
*slideshow*.*php* // This program will *show* pictures in a folder as a *slide
show*. The pictures need to be // similarly named with a number which
distinguishes *...*
www.codewalkers.com/c/a/Miscellaneous-Code/*Slide*-*Show*/ - 73k -
Cached<http://209.85.215.104/search?q=cache:b9NVhyBKJP4J:www.codewalkers.com/c/a/Miscellaneous-Code/Slide-Show/+php+slide+show&hl=en&ct=clnk&cd=7&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:www.codewalkers.com/c/a/Miscellaneous-Code/Slide-Show/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>


-- 

Bastien

Cat, the other other white meat

--- End Message ---
--- Begin Message ---
Hi,

If you are fine with using flash you could use some ready solution like
this:

 http://www.entheosweb.com/Flash/Photo_Gallery4/index.asp

For ready solutions like this you won't need a flash editor.

Haluk

-----Original Message-----
From: Bastien Koert [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 02, 2008 5:07 PM
To: philip
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] how to create a slide show using PHP5

On Wed, Jul 2, 2008 at 5:02 PM, philip <[EMAIL PROTECTED]> wrote:

> Bastien Koert wrote:
>
>>
>>
>> On Wed, Jul 2, 2008 at 4:37 PM, philip <[EMAIL PROTECTED]<mailto:
>> [EMAIL PROTECTED]>> wrote:
>>
>>    Hi everyone,
>>
>>    I want to create a slide show of photos for my web site. How is
>>    this done using php5? I am using Opensuse 10.3, Apache, PHP5.
>>
>>    TIA for any assistance,
>>
>>    Philip
>>
>>    --    Philip Ramsey
>>    learning PHP and MySQL for building a better world
>>    philipramsey.is-a-geek.net <http://philipramsey.is-a-geek.net>
>>
>>    --    PHP General Mailing List (http://www.php.net/)
>>    To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>> 2 parts to this
>>
>> 1. pull a series on [random] images from the system to show the user 
>> 2. client side javascript code to load the images in a slide show 
>> fashion
>>
>> You may want to get an existing one and pull it apart to see how 
>> they've done it
>>
>> --
>>
>> Bastien
>>
>> Cat, the other other white meat
>>
> Hi Bastien,
>
> Thank you for your quick response. Where may I find sample? I tried 
> searching the web but only found samples and tutorials that required 
> flash for the actual slide show. Since I run Linux and 
> Adobe/Macromedia do not make a flash editor for Linux, flash is not an
option.
>
> TIA,
>
> Philip
>

google php slide show

Did you mean: php
*slideshow*<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozil
la:en-US:official&hs=qc9&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=php+slidesh
ow&spell=1>

zinkwazi.com > *PHPSlideShow* <http://www.zinkwazi.com/wp/scripts/>Feb 2006:
*phpslideshow* v0.9.6 now supports JavaScript image preloading! *...* *
PHPSlideShow* is the easiest way to create a web based *slide show* from a *
...*
www.zinkwazi.com/wp/scripts/ - 31k -
Cached<http://209.85.215.104/search?q=cache:DcvWtM61AHMJ:www.zinkwazi.com/wp
/scripts/+php+slide+show&hl=en&ct=clnk&cd=1&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-
US:official&hs=qc9&q=related:www.zinkwazi.com/wp/scripts/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>
*PHP*/SWF *Slideshow* > Introduction <http://www.maani.us/slideshow/>A
simple, yet powerful *PHP* tool to create attractive web slideshows from
dynamic image files and data.
www.maani.us/*slideshow*/ - 8k -
Cached<http://209.85.215.104/search?q=cache:yeRSCKkwIPIJ:www.maani.us/slides
how/+php+slide+show&hl=en&ct=clnk&cd=2&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-
US:official&hs=qc9&q=related:www.maani.us/slideshow/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>
*PHP*/SWF *Slideshow* >
Tutorial<http://www.maani.us/slideshow/index.php?menu=Tutorial>If
*slideshow*.*php*, *slideshow*.swf, or sample.*php* aren't in the same
directory as *...* The path for *slideshow*.*php* must be relative to
prevent the server from *...*
www.maani.us/*slideshow*/index.*php*?menu=Tutorial - 11k -
Cached<http://209.85.215.104/search?q=cache:-8Cc5WfMh_YJ:www.maani.us/slides
how/index.php%3Fmenu%3DTutorial+php+slide+show&hl=en&ct=clnk&cd=3&gl=ca&clie
nt=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-
US:official&hs=qc9&q=related:www.maani.us/slideshow/index.php?menu=Tutorial>
-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>
More results from www.maani.us
><http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:o
fficial&hs=qc9&q=+site:www.maani.us+php+slide+show>
freshmeat.net: Project details for *PHP
Slideshow*<http://freshmeat.net/projects/phpslideshow/>
*PHPSlideShow* is a little script that creates a web based *slide show* with
NEXT and BACK buttons to *...* http://www.zinkwazi.com/scripts/*phpslideshow
*.tar.gz *...*
freshmeat.net/projects/*php**slideshow*/ - 22k -
Cached<http://209.85.215.104/search?q=cache:Jwv60x96TXcJ:freshmeat.net/proje
cts/phpslideshow/+php+slide+show&hl=en&ct=clnk&cd=4&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-
US:official&hs=qc9&q=related:freshmeat.net/projects/phpslideshow/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>
The *PHP* Resource Index: Complete Scripts: Images and Graphs: *Slide*
*...*<http://php.resourceindex.com/Complete_Scripts/Images_and_Graphs/Slide_
Shows/>Version:
1 - Released: 08/10/07 - Free - Requirement(s): *PHP* 4/5, Jump to URL. A
customizable script which creates a user-navigated *slide show* from any *
...*
*php*.resourceindex.com/Complete_Scripts/Images_and_Graphs/*Slide*_*Show*s/
- 28k -
Cached<http://209.85.215.104/search?q=cache:i3J3EI2dQrQJ:php.resourceindex.c
om/Complete_Scripts/Images_and_Graphs/Slide_Shows/+php+slide+show&hl=en&ct=c
lnk&cd=5&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-
US:official&hs=qc9&q=related:php.resourceindex.com/Complete_Scripts/Images_a
nd_Graphs/Slide_Shows/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>
Web Photo Gallery Software, *PHP* Photo Gallery Script, Web Site
*...*<http://www.gallarific.com/demo.php>Gallarific
- Web Photo Gallery Software Written in *PHP*. The World's Most Popular
Photo Gallery for Web Sites TM. Home Page . Video Tour . Customization *...*
www.gallarific.com/demo.*php* - 10k -
Cached<http://209.85.215.104/search?q=cache:WMbNkA745MIJ:www.gallarific.com/
demo.php+php+slide+show&hl=en&ct=clnk&cd=6&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-
US:official&hs=qc9&q=related:www.gallarific.com/demo.php>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>
*Slide Show* <http://www.codewalkers.com/c/a/Miscellaneous-Code/Slide-Show/>
*slideshow*.*php* // This program will *show* pictures in a folder as a
*slide show*. The pictures need to be // similarly named with a number which
distinguishes *...*
www.codewalkers.com/c/a/Miscellaneous-Code/*Slide*-*Show*/ - 73k -
Cached<http://209.85.215.104/search?q=cache:b9NVhyBKJP4J:www.codewalkers.com
/c/a/Miscellaneous-Code/Slide-Show/+php+slide+show&hl=en&ct=clnk&cd=7&gl=ca&
client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-
US:official&hs=qc9&q=related:www.codewalkers.com/c/a/Miscellaneous-Code/Slid
e-Show/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>


-- 

Bastien

Cat, the other other white meat


--- End Message ---
--- Begin Message ---
At 4:37 PM -0400 7/2/08, philip wrote:
Hi everyone,

I want to create a slide show of photos for my web site. How is this done using php5? I am using Opensuse 10.3, Apache, PHP5.

TIA for any assistance,

Philip

Philip:

With a combination of php, html, and javascript, you can get this:

http://webbytedd.com/c/fade-cycle/

The javascript is there.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--- End Message ---
--- Begin Message ---
On Thursday 03 July 2008 00:14:45 tedd wrote:
> At 4:37 PM -0400 7/2/08, philip wrote:
> >Hi everyone,
> >
> >I want to create a slide show of photos for my web site. How is this
> >done using php5? I am using Opensuse 10.3, Apache, PHP5.
> >
> >TIA for any assistance,
> >
> >Philip
>
> Philip:
>
> With a combination of php, html, and javascript, you can get this:
>
> http://webbytedd.com/c/fade-cycle/
>
> The javascript is there.
>
> Cheers,
>
> tedd

thats a NICE as in  _NICE_ slideshow, best I've seen in... hell best I've seen 
ever.

>
> --
> -------
> http://sperling.com  http://ancientstones.com  http://earthstones.com



-- 
---
Børge Holen
http://www.arivene.net

--- End Message ---
--- Begin Message ---
Bastien Koert wrote:


On Wed, Jul 2, 2008 at 4:37 PM, philip <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi everyone,

    I want to create a slide show of photos for my web site. How is
    this done using php5? I am using Opensuse 10.3, Apache, PHP5.

    TIA for any assistance,

    Philip

-- Philip Ramsey
    learning PHP and MySQL for building a better world
    philipramsey.is-a-geek.net <http://philipramsey.is-a-geek.net>

-- PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php


2 parts to this

1. pull a series on [random] images from the system to show the user
2. client side javascript code to load the images in a slide show fashion

You may want to get an existing one and pull it apart to see how they've done it

--

Bastien

Cat, the other other white meat
Hi Bastien,

Thank you for your quick response. Where may I find sample? I tried searching the web but only found samples and tutorials that required flash for the actual slide show. Since I run Linux and Adobe/Macromedia do not make a flash editor for Linux, flash is not an option.

TIA,

Philip

--- End Message ---
--- Begin Message ---
You could look into something like PicLens lite.
http://piclens.com/lite/webmasterguide.php

It's more of an image viewer than slideshow. But the FFox plugin works great with Flickr, youtube, etc..
Basically you create a media RSS feed of the photos or video.
There's two flavours.
PicsLens is the plugin for browsers, while PicLens lite uses javascript and lets people who don't have the browser plugin view the photos.

<http://piclens.com/lite/webmasterguide.php>

Michael Kubler
*G*rey *P*hoenix *P*roductions <http://www.greyphoenix.biz>



philip wrote:
Hi everyone,

I want to create a slide show of photos for my web site. How is this done using php5? I am using Opensuse 10.3, Apache, PHP5.

TIA for any assistance,

Philip


--- End Message ---
--- Begin Message ---
I am writing an application in which I want to create log files.  I am
weighing the difference between using text files and using a database to
house the data.  It appears to me that there is really no advantage either
way or is there?  There are pros and cons to both methods, but I am
concerned about opening and closing a text file some many times that it may
cause and issue. The file may be opened and closed 1,000 or more times a
day.

 

Opinions please..

 

markb


--- End Message ---
--- Begin Message ---
On Wednesday 02 July 2008 22:36:24 Mark Bomgardner wrote:
> I am writing an application in which I want to create log files.  I am
> weighing the difference between using text files and using a database to
> house the data.  It appears to me that there is really no advantage either
> way or is there?  There are pros and cons to both methods, but I am
> concerned about opening and closing a text file some many times that it may
> cause and issue. The file may be opened and closed 1,000 or more times a
> day.
>
>
>
> Opinions please..

for the ease of it, I would go for the database. 
There is of course the details regarding the rest of the site to take into 
consideration....
damn database is easy... <- take this one and go for files if not sustainable 
enought.

>
>
>
> markb



-- 
---
Børge Holen
http://www.arivene.net

--- End Message ---
--- Begin Message ---
Mark Bomgardner wrote:
> I am writing an application in which I want to create log files.  I am
> weighing the difference between using text files and using a database to
> house the data.  It appears to me that there is really no advantage either
> way or is there?  There are pros and cons to both methods, but I am
> concerned about opening and closing a text file some many times that it may
> cause and issue. The file may be opened and closed 1,000 or more times a
> day.

Opening/closing a file that number of times won't cause a problem, 1,000
 isn't a lot a day. If you needed to write something 1,000 times a
minute, you probably couldn't do that with a file without getting into
contention/locking issues.

What will you do with the logs once you have them?

Do you need to run reports based on the data in them?
Will you need to search for information in the logs?

If you need to run reports or search for info in the logs, I'd use a
database.

If you just need the logs for "Person A logged in at this time" type
messages then a file should be fine.

-- 
Postgresql & php tutorials
http://www.designmagick.com/

--- End Message ---
--- Begin Message ---
On Mon, Jun 30, 2008 at 1:31 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
>
> Fatal error: Call to undefined function shawn() in /home/shawn/life.php on
> line 1

    I like it.  ;-P

-- 
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

--- End Message ---
--- Begin Message ---
On Wednesday 02 July 2008 13:34:32 Bastien Koert wrote:
> On Wed, Jul 2, 2008 at 6:33 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> > Subhranil wrote:
> > > Hi All,
> > >
> > > I want to show one URL at browser and content of different URL.
> >
> > Take a look at apache url rewriting.
> >
> >
> > /Per Jessen, Zürich
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> You could look at using an iframe or frames in general, or ajax call into a
> div

that suggestion is wrong on so many levels. using a "hack" to manage something 
ment to be handled before page is sent.

I lean toward the apache rewritemod



-- 
---
Børge Holen
http://www.arivene.net

--- End Message ---

Reply via email to