Re: [PHP] logic for grabbing what we need from user-input addresses for AVS?
On Sat, 2008-10-18 at 22:56 -0600, Govinda wrote: > Hi all > > This is not exactly PHP, but an issue that we have to work out in code > (whatever we use) - > I am working on a shopping cart site which will have orders from any > country. > > To cut down on fraudulent orders, our cc processor (whatever we call > them), to enable "Address Verification System (AVS)", accepts a var/ > value which is "The numeric portion of the street address". It is > "Required for AVS". Now to get this from what the user input, I can: > > - just read the *numeric* characters off the front of the first (of 2) > address text inputs, stopping grabbing them once I reach any non- > numeric char., or I could > - get *any* numeric chars input in that text area and concatenate > them all together (if there is more than one continuous run of them), or > - get *any* numeric chars input in *either* of the address text areas > and concatenate that all together (if there is more than one > continuous run of them), or > - (what are the other possibilities?) > > I am asking you guys/gals using AVS: what are they looking for? The > docs make this clear that they want: "The numeric portion of the > street address", but just because I can't think of addresses that > don't match a pattern I am thinking of does not mean they don't exist > or are not valid. And how should the logic of my algorithm be written > if it was just for USA addresses? ... and more importantly - if I am > writing it to handle addresses from any country? > > Thanks for any insight/logic based on experience, ;-) AVS systems I've used don't ask for the street number. They ask for the entire address and they do the matching for me and return a code indicating what portions matched. For one client in particular an AVS fail allows the order to go through, but it is flagged as peculiar and requires someone to manually reject or allow the order to be fulfilled. This was necessary since a lot of AVS failures were encountered for regular clients. If I had to make a choice given your system, I think I would just grab the integer value of the first address line. No concatenation, and no fussing with a second line... $number = (int)$input; Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] logic for grabbing what we need from user-input addresses for AVS?
AVS generally only exists for us and canada and parts of the uk, if I remember correctly. Usually they're just looking for the beginning part of the street address, not the concatenation or anything else like that. No need for apartment numbers, for example if you're just looking at avs. If you're doing a full credit card auth, though, that's a different matter. Waynn On 10/18/08, Govinda <[EMAIL PROTECTED]> wrote: > Hi all > > This is not exactly PHP, but an issue that we have to work out in code > (whatever we use) - > I am working on a shopping cart site which will have orders from any > country. > > To cut down on fraudulent orders, our cc processor (whatever we call > them), to enable "Address Verification System (AVS)", accepts a var/ > value which is "The numeric portion of the street address". It is > "Required for AVS". Now to get this from what the user input, I can: > > - just read the *numeric* characters off the front of the first (of 2) > address text inputs, stopping grabbing them once I reach any non- > numeric char., or I could > - get *any* numeric chars input in that text area and concatenate > them all together (if there is more than one continuous run of them), or > - get *any* numeric chars input in *either* of the address text areas > and concatenate that all together (if there is more than one > continuous run of them), or > - (what are the other possibilities?) > > I am asking you guys/gals using AVS: what are they looking for? The > docs make this clear that they want: "The numeric portion of the > street address", but just because I can't think of addresses that > don't match a pattern I am thinking of does not mean they don't exist > or are not valid. And how should the logic of my algorithm be written > if it was just for USA addresses? ... and more importantly - if I am > writing it to handle addresses from any country? > > Thanks for any insight/logic based on experience, ;-) > > -Govinda > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Sent from my mobile device -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] logic for grabbing what we need from user-input addresses for AVS?
Hi all This is not exactly PHP, but an issue that we have to work out in code (whatever we use) - I am working on a shopping cart site which will have orders from any country. To cut down on fraudulent orders, our cc processor (whatever we call them), to enable "Address Verification System (AVS)", accepts a var/ value which is "The numeric portion of the street address". It is "Required for AVS". Now to get this from what the user input, I can: - just read the *numeric* characters off the front of the first (of 2) address text inputs, stopping grabbing them once I reach any non- numeric char., or I could - get *any* numeric chars input in that text area and concatenate them all together (if there is more than one continuous run of them), or - get *any* numeric chars input in *either* of the address text areas and concatenate that all together (if there is more than one continuous run of them), or - (what are the other possibilities?) I am asking you guys/gals using AVS: what are they looking for? The docs make this clear that they want: "The numeric portion of the street address", but just because I can't think of addresses that don't match a pattern I am thinking of does not mean they don't exist or are not valid. And how should the logic of my algorithm be written if it was just for USA addresses? ... and more importantly - if I am writing it to handle addresses from any country? Thanks for any insight/logic based on experience, ;-) -Govinda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Form Loop
On Sat, Oct 18, 2008 at 08:07:26PM -0500, Shawn McKenzie wrote: > Terry J Daichendt wrote: > > I'm trying to create a form with a loop. I need to append a value to a > > field name each time through the loop. For Instance: > > > > while ($row = mysql_fetch_assoc($result)) { > > $x=1; > > echo "";echo " > name='quantity_' size='2' value='$row[qty]' />"; > > echo ""; > > $x++; > > } > > > > the name value quantity needs the value of x appended to it. quantity_1, > > quantity_2 etc. What is the correct syntax to achieve this, especially > > the parsing to get it to work. I suspect the dot operator to append it > > but I can't get the parsing down. > > > > Terry Daichendt > > echo ' size="2" value="' . $row['qty']. '" />'; > > However, I would use an array: > > echo ' size="2" value="' . $row['qty']. '" />'; > > Depending upon your use, you can even leave out the index and let it > increment. > > echo ' value="' . $row['qty']. '" />'; Ids must be unique within a document. -- "We may eventually come to realize that chastity is no more a virtue than malnutrition." -- Alexander Comfort Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Form Loop
Terry J Daichendt wrote: > I'm trying to create a form with a loop. I need to append a value to a > field name each time through the loop. For Instance: > > while ($row = mysql_fetch_assoc($result)) { > $x=1; > echo "";echo " name='quantity_' size='2' value='$row[qty]' />"; > echo ""; > $x++; > } > > the name value quantity needs the value of x appended to it. quantity_1, > quantity_2 etc. What is the correct syntax to achieve this, especially > the parsing to get it to work. I suspect the dot operator to append it > but I can't get the parsing down. > > Terry Daichendt echo ''; However, I would use an array: echo ''; Depending upon your use, you can even leave out the index and let it increment. echo ''; -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Form Loop
I'm trying to create a form with a loop. I need to append a value to a field name each time through the loop. For Instance: while ($row = mysql_fetch_assoc($result)) { $x=1; echo ""; echo "value='$row[qty]' />"; echo ""; $x++; } the name value quantity needs the value of x appended to it. quantity_1, quantity_2 etc. What is the correct syntax to achieve this, especially the parsing to get it to work. I suspect the dot operator to append it but I can't get the parsing down. Terry Daichendt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Convert video to FLV like youtube
On Sat, 2008-10-18 at 23:23 +0200, Nitsan Bin-Nun wrote: > Straightforward and useful, I have added it to the "videos conversion" > snippets directory ;) > > Sokot Sameh, > Nitsan Bin-Nun > > On Sat, Oct 18, 2008 at 10:45 PM, Dotan Cohen <[EMAIL PROTECTED]> wrote: > > > 2008/10/18 Ryan S <[EMAIL PROTECTED]>: > > > Hey! > > > > > > Been googleing for a way to convert video to flv just like youtube and > > came accross the flv SDK kit, unfortunately it seems to only support C++, > > Delphi and C# > > > > > > > > > Have any of you guys come accross a php script that does this? any links, > > pointers and code would be appreciated. > > > > > > > Here is the script that I use to convert videos to flash for use on > > http://dotancohen.com my personal website: > > > > [EMAIL PROTECTED]:~$ cat .bin/video-flv_png > > #!/bin/bash > > filename="$@" > > filename=${filename%.*} > > ffmpeg -sameq -i "$@" -s 640x480 -ar 44100 -r 25 $filename.flv -pass 2 > > ffmpeg -itsoffset -0 -i "$@" -vcodec png -vframes 1 -an -f rawvideo > > -s 640x480 $filename.1.png > > ffmpeg -itsoffset -0.5 -i "$@" -vcodec png -vframes 1 -an -f > > rawvideo -s 640x480 $filename.2.png > > ffmpeg -itsoffset -1 -i "$@" -vcodec png -vframes 1 -an -f rawvideo > > -s 640x480 $filename.3.png > > > > > > > > In addition to the video it creates three png files, from the first > > few frames of the video. I choose one of these pngs (rm the other two) > > and use it as the thumbnail for the video in the flash-based player. > > Feel free to check out my site for example code. > > > > -- > > Dotan Cohen > > > > http://what-is-what.com > > http://gibberish.co.il <> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת > > > > ä-ö-ü-ß-Ä-Ö-Ü > > I've done a similar thing for a system at work, but I have noticed that it sometimes creates buggy FLVs from WMV clips. It might just be the way that the encodings differ, and despite working for a media company, I still have no idea about all the differing rates (frames, video, audio) inside of one clip, so I think it may just be my bad understanding of it. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] paging at which level
On Sat, 2008-10-18 at 12:54 +0200, Alain Roger wrote: > Hi, > > i would like to know what is the best approach for paging ? > usually i use PEAR and page thanks their table library, but to avoid high > transfer of data from DB to PHP page it is better to do the paging at > database level. > I would like to know what is your point of view on this topic and what do > you use to do ? > > thx. > I've not used a library to achieve paging but doing it at the database level is a must really, as you don't want to retrieve large data sets, only to work on a small sub-section of them. As I've no experience of using libraries for this, I've always coded the queries myself. LIMIT in MySQL comes in real handy, but if you're using an older version of MSSQL, then you will have to use nested selects like this: SELECT * FROM ( SELECT TOP 10 * FROM ( SELECT TOP 20 * FROM table1 ORDER BY column1 ) ORDER BY column1 DESC ) ORDER BY column1 Obviously the syntax is not entirely right, but it should help you get the general idea for a query that returns results 10-20. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Convert video to FLV like youtube
Straightforward and useful, I have added it to the "videos conversion" snippets directory ;) Sokot Sameh, Nitsan Bin-Nun On Sat, Oct 18, 2008 at 10:45 PM, Dotan Cohen <[EMAIL PROTECTED]> wrote: > 2008/10/18 Ryan S <[EMAIL PROTECTED]>: > > Hey! > > > > Been googleing for a way to convert video to flv just like youtube and > came accross the flv SDK kit, unfortunately it seems to only support C++, > Delphi and C# > > > > > > Have any of you guys come accross a php script that does this? any links, > pointers and code would be appreciated. > > > > Here is the script that I use to convert videos to flash for use on > http://dotancohen.com my personal website: > > [EMAIL PROTECTED]:~$ cat .bin/video-flv_png > #!/bin/bash > filename="$@" > filename=${filename%.*} > ffmpeg -sameq -i "$@" -s 640x480 -ar 44100 -r 25 $filename.flv -pass 2 > ffmpeg -itsoffset -0 -i "$@" -vcodec png -vframes 1 -an -f rawvideo > -s 640x480 $filename.1.png > ffmpeg -itsoffset -0.5 -i "$@" -vcodec png -vframes 1 -an -f > rawvideo -s 640x480 $filename.2.png > ffmpeg -itsoffset -1 -i "$@" -vcodec png -vframes 1 -an -f rawvideo > -s 640x480 $filename.3.png > > > > In addition to the video it creates three png files, from the first > few frames of the video. I choose one of these pngs (rm the other two) > and use it as the thumbnail for the video in the flash-based player. > Feel free to check out my site for example code. > > -- > Dotan Cohen > > http://what-is-what.com > http://gibberish.co.il > א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת > > ä-ö-ü-ß-Ä-Ö-Ü >
Re: [PHP] Convert video to FLV like youtube
2008/10/18 Ryan S <[EMAIL PROTECTED]>: > Hey! > > Been googleing for a way to convert video to flv just like youtube and came > accross the flv SDK kit, unfortunately it seems to only support C++, Delphi > and C# > > > Have any of you guys come accross a php script that does this? any links, > pointers and code would be appreciated. > Here is the script that I use to convert videos to flash for use on http://dotancohen.com my personal website: [EMAIL PROTECTED]:~$ cat .bin/video-flv_png #!/bin/bash filename="$@" filename=${filename%.*} ffmpeg -sameq -i "$@" -s 640x480 -ar 44100 -r 25 $filename.flv -pass 2 ffmpeg -itsoffset -0 -i "$@" -vcodec png -vframes 1 -an -f rawvideo -s 640x480 $filename.1.png ffmpeg -itsoffset -0.5 -i "$@" -vcodec png -vframes 1 -an -f rawvideo -s 640x480 $filename.2.png ffmpeg -itsoffset -1 -i "$@" -vcodec png -vframes 1 -an -f rawvideo -s 640x480 $filename.3.png In addition to the video it creates three png files, from the first few frames of the video. I choose one of these pngs (rm the other two) and use it as the thumbnail for the video in the flash-based player. Feel free to check out my site for example code. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ä-ö-ü-ß-Ä-Ö-Ü
Re: [PHP] Re: what's the difference in the following code?
> Wrong. They are equivalent. The second is probably just easier to follow > with a clearly defined default value outside the conditional block. Well, leaving out the default value at the 2nd if statement makes a difference and that's what I did. Here is the code I changed again .. Set to $_GET['search'] or an empty string Only set if there is a $_GET['search'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Convert video to FLV like youtube
On Sat, 2008-10-18 at 09:54 -0700, Ryan S wrote: > Hey! > > Been googleing for a way to convert video to flv just like youtube and came > accross the flv SDK kit, unfortunately it seems to only support C++, Delphi > and C# > > > Have any of you guys come accross a php script that does this? any links, > pointers and code would be appreciated. I'm going to wager that any script that does this is punting to an external library to perform the conversion. Using ffmpeg and mencoder comes to mind. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] paging at which level
On Sat, 2008-10-18 at 12:54 +0200, Alain Roger wrote: > Hi, > > i would like to know what is the best approach for paging ? > usually i use PEAR and page thanks their table library, but to avoid high > transfer of data from DB to PHP page it is better to do the paging at > database level. If you want top page data then you absolutely should NOT retrieve the entire set of results (unless they are less than your paging length). > I would like to know what is your point of view on this topic and what do > you use to do ? Use a paging system that takes a query or can build the query itself. Most decent libraries or frameworks have something already built to do so. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: what's the difference in the following code?
On Sat, 2008-10-18 at 08:44 -0700, Yeti wrote: > I would understand it if it was like this .. > > $search = isset($_GET['search']) ? $_GET['search'] : ''; > # versus > if (isset($_GET['search'])) { $search = $_GET['search']; } > ?> > > In the first statement $search would either be set to $_GET['search'] > or an empty string, whereas in the second statement $search would only > be set, if there is a $_GET['search'] Wrong. They are equivalent. The second is probably just easier to follow with a clearly defined default value outside the conditional block. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Convert video to FLV like youtube
On Sat, Oct 18, 2008 at 1:02 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > >FFMPEG is the standard now. err not just "now." Not sure why I typed that. -- Founder, CEO - Parasane, LLC http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Convert video to FLV like youtube
On Sat, Oct 18, 2008 at 12:54 PM, Ryan S <[EMAIL PROTECTED]> wrote: > > Been googleing for a way to convert video to flv just like youtube and came > accross the flv SDK kit, unfortunately it seems to only support C++, Delphi > and C# FFMPEG is the standard now. -- Founder, CEO - Parasane, LLC http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Convert video to FLV like youtube
Hey! Been googleing for a way to convert video to flv just like youtube and came accross the flv SDK kit, unfortunately it seems to only support C++, Delphi and C# Have any of you guys come accross a php script that does this? any links, pointers and code would be appreciated. TIA, R -- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] what's the difference in the following code?
2008/10/17 Lamp Lists <[EMAIL PROTECTED]>: > I'm reading "Essential PHP Security" by Chris Shiflett. > > on the very beginning, page 5 & 6, if I got it correct, he said this is not > good: > > $search = isset($_GET['search']) ? $_GET['search'] : ''; > > and this is good: > > $search = ''; > if (isset($_GET['search'])) > { >$search = $_GET['search']; > } > > what's the difference? I really can't see? > to me is more the way you like to write your code (and I like the top one :-) > )? > > thanks. > > -ll > Chris posts here, you might want to stfa for his address and cc him the question to the list. Just be sure not to bug him offlist, that is generally frowned upon. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ä-ö-ü-ß-Ä-Ö-Ü
Re: [PHP] Re: what's the difference in the following code?
I would understand it if it was like this .. In the first statement $search would either be set to $_GET['search'] or an empty string, whereas in the second statement $search would only be set, if there is a $_GET['search'] //A yeti -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Securing AJAX requests with PHP?
Yeti wrote: Ok, but how safe are tokens? Thinking of man in the middle attacks they do not make much sense, do they? That's what I was thinking too. If I'm deleting an entry from a database with AJAX, I don't want someone looking at my Javascript and saying, "Hmm, all I need to do is pass this info to this URL and I can delete at will." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Securing AJAX requests with PHP?
Ok, but how safe are tokens? Thinking of man in the middle attacks they do not make much sense, do they? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: what's the difference in the following code?
Hi, why say Chris Shiflett that this is not good: because security problems or because you cannot see very good what the code do?. Regards Carlos Lamp Lists schrieb: I'm reading "Essential PHP Security" by Chris Shiflett. on the very beginning, page 5 & 6, if I got it correct, he said this is not good: $search = isset($_GET['search']) ? $_GET['search'] : ''; and this is good: $search = ''; if (isset($_GET['search'])) { $search = $_GET['search']; } what's the difference? I really can't see? to me is more the way you like to write your code (and I like the top one :-) )? thanks. -ll __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Securing AJAX requests with PHP?
On Fri, Oct 17, 2008 at 7:14 PM, Yeti <[EMAIL PROTECTED]> wrote: > >but whose counting :-)) > > Someone is for sure. Maybe the scheduler? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Security is a mindset and if your data is not that important, sessions and some quick authentication checks are fine. If you're like me and the application is used by large international retailers and your data included PII (personal identity information) and PCI (credit card) then is far more important and needs to be handled appropriately. If it eats up more CPU cycles to better validate the user and their application authentication, so be it. In my case, its better to be safe than sorry. Those mistakes could get very expensive -- Bastien Cat, the other other white meat
Re: [PHP] paging at which level
> usually i use PEAR and page thanks their table library Table library? Y'know there's a dedicated paging library in PEAR, imaginitively called "Pager". > , but to avoid high > transfer of data from DB to PHP page it is better to do the paging at > database level. > I would like to know what is your point of view on this topic and what do > you use to do ? My Datagrid does this for you. You simply give it a database connection, along with an SQL query, and it does the rest: http://www.phpguru.org/downloads/datagrid/latest/ -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] paging at which level
Hi, i would like to know what is the best approach for paging ? usually i use PEAR and page thanks their table library, but to avoid high transfer of data from DB to PHP page it is better to do the paging at database level. I would like to know what is your point of view on this topic and what do you use to do ? thx. -- Alain Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008
Re: [PHP] web shot script
i found a few website provide this service but i don't remember the name. Maybe html2png is what u looking for http://marginalhacks.com/Hacks/html2jpg/ On 10/18/08, Nitsan Bin-Nun <[EMAIL PROTECTED]> wrote: > In general thats what I would do: > Install firefox on the server, > Open FF, take a screen shot, paste it to whatever graphic editor you have, > Save the current image to a directory > (This idea can be done in PHP, more than that, I have already wrote it, > if I were able to find it I would have been attached it already ;) ) > > The other options is using something like www.browsershots.org (as far > as I remember thats their URL) and pay them to get the first places on > their queues. > > There is also a free website-thumbnailing website but it updates the > images once a year or half so for me it doesn't usefull at all. > > HTH, > Nitsan > > On Sat, Oct 18, 2008 at 10:59 AM, Joey <[EMAIL PROTECTED]> wrote: > >> Hello All, >> >> >> Does anyone know of a script to capture web pages and store the image? >> >> Trying to see all of my sites screenshots and have it updated on occasion. >> >> >> >> Thanks! >> >> >> >> Joey >> >> > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] web shot script
In general thats what I would do: Install firefox on the server, Open FF, take a screen shot, paste it to whatever graphic editor you have, Save the current image to a directory (This idea can be done in PHP, more than that, I have already wrote it, if I were able to find it I would have been attached it already ;) ) The other options is using something like www.browsershots.org (as far as I remember thats their URL) and pay them to get the first places on their queues. There is also a free website-thumbnailing website but it updates the images once a year or half so for me it doesn't usefull at all. HTH, Nitsan On Sat, Oct 18, 2008 at 10:59 AM, Joey <[EMAIL PROTECTED]> wrote: > Hello All, > > > Does anyone know of a script to capture web pages and store the image? > > Trying to see all of my sites screenshots and have it updated on occasion. > > > > Thanks! > > > > Joey > >
[PHP] web shot script
Hello All, Does anyone know of a script to capture web pages and store the image? Trying to see all of my sites screenshots and have it updated on occasion. Thanks! Joey