Re: [PHP] Kinda 0.T... php site and maintenance

2009-01-28 Thread Ryan S
@Bastien, Stuart: Thanks for your input guys, was very useful and appreciate it. cheers! R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Kinda 0.T... php site and maintenance

2009-01-26 Thread Ryan S
Hey, Got a question for you guys who make a lot of personal sites. I got a US client who wants me to make a personal site, 4-7 sections (eg: about me, photos, whats new etc) and have to put a yearly maintenance $$ amount... I thought i'll make most of the stuff using php rather than plain html

Re: [PHP] Kinda 0.T... php site and maintenance

2009-01-26 Thread Ryan S
and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) - Original Message From: Nitsan Bin-Nun nitsa...@gmail.com To: Ryan S gen...@yahoo.com Cc: php php php-general@lists.php.net Sent: Monday, January 26, 2009 6:39:19 PM Subject: Re: [PHP] Kinda 0

[PHP] Query string vanishes on header(Location: ...) redirect

2009-01-12 Thread Richard S. Crawford
for rogue .htaccess files which might be doing some fancy URL rewriting, but found nothing. -- Richard S. Crawford (rscrawf...@mossroot.com) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com) -- PHP General Mailing List (http://www.php.net

[PHP] Mail server that doesn't actually get installed

2008-12-24 Thread Michael S. Dunsavage
can put on the CD for him so he can see what the site looks like? -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] unsubscring from the list

2008-12-22 Thread Michael S. Dunsavage
On Tue, 2008-12-23 at 10:33 +1100, Chris wrote: Sudhakar wrote: hi i would like to unsubscribe from this php list as i keep getting too many emails. how do i unsubscribe. http://php.net/unsub.php Maybe change your subscription to digest form? -- Michael S. Dunsavage -- PHP

[PHP] Request to bash/jump/screw my code

2008-12-08 Thread Ryan S
Hello everyone, Recently I worked on a rather decent sized project and it just went live yesterday. We cannot really afford a security specialist so would appreciate it if you could hit our site with whatever you want to (just dont take us offline with something like a DDOS please) and tell

Re: [PHP] Request to bash/jump/screw my code

2008-12-08 Thread Ryan S
Snippy Any advise is also most welcome. 'Advise' is a verb. 'Advice' is a noun. No charge. /Snippy LOL! Thanks! Got caught by the grammar and typo police but no ticket! Must be my lucky day! Cheers! R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] mySQL query question

2008-11-14 Thread Michael S. Dunsavage
On Fri, 2008-11-14 at 08:46 +0100, Jochem Maas wrote: 1000 + 1 != 10001 you might consider setting a default of 1000 or 1 or whatever on the given field so it's automatically populated with that number when a contact record is created. Sorry. Hit the 0 one to few times. -- Michael S

Re: [PHP] mySQL query question

2008-11-14 Thread Michael S. Dunsavage
over the variables and column names and the naming is correct. -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mySQL query question

2008-11-14 Thread Michael S. Dunsavage
On Fri, 2008-11-14 at 12:46 -0800, Jim Lucas wrote: SELECT @confirm_number AS confirm_number; Are we not SELECTING the column value here? should we be selecting confirm_number as confirm_number? -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] mySQL query question

2008-11-13 Thread Michael S. Dunsavage
and the +1 should make it 10001, 10002, 10003 etc how would I set the original number to 1000 to begin with? Or should I just set that in the database record its self when I'm ready to use the website? -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] mySQL query question

2008-11-13 Thread Michael S. Dunsavage
is a confirmation number that gets e-mailed out. So I have to pull it from the DB any way -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Replacing with f*ck and f*cking

2008-10-27 Thread Ryan S
Thanks for all your input guys! Scunthorpe LOL! Never heard of the place but ...f**k i think i am a geek for finding it funny! Reminds me of quite few people tho... Cheers! R 2008/10/26 Colin Guthrie [EMAIL PROTECTED]: Ashley Sheridan wrote: What you really need to watch out for is words

[PHP] Replacing with f*ck and f*cking

2008-10-25 Thread Ryan S
Hey! I'm just trying to replace some of the more bad words with their slightly censored counterparts like so $bad_words = array(/*Well you know the words so am not going to write them here*/); $bad_words_replacements = array(f*ck, f*cking); $comment =

Re: [PHP] index search

2008-10-24 Thread Ryan S
clip Are you sure LIKE isn't working? I would think LIKE a% would work. For 0-9, I would think you can use = 9 or you can use BETWEEN 0 and 9. /clip Silly me, the reason it was not working was I am so used to %something% and used that instead of something% Anyway, it was a not a useless post

[PHP] index search

2008-10-23 Thread Ryan S
Hey all, Was wondering how this is done, have a bunch of links like so: 0-9 : a : b : c - till Z these will be linked to the program (so far have done this) but when the user clicks any of those links I want to query the DB for just the first alphabet from the field title, using LIKE is not

Re: [PHP] Mysql search

2008-10-22 Thread Ryan S
clipp Am hoping someone out there can recommend a better script or maybe share some of your own code? Any help would be appreciated. Do it right... read up on MySQL's fulltext matching. Cheers, Rob. /clipp Did some searching based on your tip, got what i was looking for, just didnt

[PHP] Mysql search

2008-10-21 Thread Ryan S
Hey all, I have two columns in my DB title varchar(254) and jtext text which I would like to search, as the user might enter two or more words I am opting not to use LIKE %search_term% so started searching google, I came across this very promising class:

[PHP] Convert video to FLV like youtube

2008-10-18 Thread Ryan S
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

[PHP] Re: Brain dead... write image to file

2008-10-15 Thread Ryan S
! - Smile, everyone loves a moron. :-) - Original Message From: Maciek Sokolewicz [EMAIL PROTECTED] To: Ryan S [EMAIL PROTECTED] Cc: php php php-general@lists.php.net Sent: Wednesday, October 15, 2008 12:25:29 PM Subject: Re: Brain dead... write image to file Ryan S wrote: Hey all, am

[PHP] Brain dead... write image to file

2008-10-15 Thread Ryan S
Hey all, am feeling a bit brain dead, pulled an all nighter and would appreciate some help as have already wasted over 2hrs on this :( just not thinking straight. I got this script off the net, cant even remember where :( its basically to resize an uploaded image (i have a script that does

[PHP] searching by tags....

2008-10-14 Thread Ryan S
Hey, this the first time I am actually working with tags but it seems quite popular and am adding it on a clients requests. By tags I mean something like wordpress' implementation of it, for example when an author writes an article on babies the tags might be baby,babies, new borns, cribs,

[PHP] Little regex help please...

2008-10-13 Thread Ryan S
Hello! Here's a regex that I got off the web that I am trying to modify for my needs, I suck at regex so desperately need some help. Basically, am trying to get a remote webpage and get the value between the title tags, note that it should get the values regardless if title is upper or lower

Re: [PHP] Little regex help please...

2008-10-13 Thread Ryan S
Hey Todd, Eric, Thanks for replying. I don't believe you need both the / and the # for delimiters in your RegEx. Try using just # (since / is actually going to be in the text you're searching for) like this: ?php $data = file_get_contents(http://www.youtube.com/watch?v=oQ2dKXGAjNg;);

Re: [PHP] Little regex help please...

2008-10-13 Thread Ryan S
Thanks guys, I appreciate the help. Cheers! R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: The Best PHP Editor.

2008-09-20 Thread Michael S. Dunsavage
On Sat, 2008-09-20 at 04:52 +0200, Michelle Konzack wrote: What is the best to edit my PHP file? Recently I've been doing quick updates in vim but I designed my friends DJ website in Geany and Quantum. Geany is really quite good. You'll need GTK libraries, it's a Gnome program. -- Michael S

Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-12 Thread Rahul S. Johari
On Sep 12, 2008, at 10:18 AM, Boyd, Todd M. wrote: -Original Message- From: Sancar Saran [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2008 6:15 PM To: php-general@lists.php.net Subject: Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

[PHP] Printing date out of array

2008-08-31 Thread Michael S. Dunsavage
it to an e-mail, I'd like it to me Month-dd-. How could I do this? Would it be easier to pull the date from mysql and break it down somehow? And if so how would I do that? -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] RE: Sale 79% OFF !!!

2008-08-24 Thread Ryan S
klip I hate to admit to this, but some 15 years ago I was consulting for a company doing oil exploration in Nigeria and I received a very elaborate and believable Nigerian scam. It was complete with signed and official documents from both the Nigerian Government and the Bank of Nigeria. I

[PHP] Semi-ADVERT, not really spam, sorry for it

2008-08-19 Thread V S Rawat
If you provide paid help in code development/ testing/ troubleshooting related to php or other software areas, please feel free to drop a line to me at my id mentioned below. Please don't write here as some other members might find this off topic. Sorry for bothering the rest of you. I hope you

Re: [PHP] Semi-ADVERT, not really spam, sorry for it

2008-08-19 Thread V S Rawat
On 8/19/2008 4:53 PM India Time, _metastable_ wrote: Imo, it is both off-topic and inappropriate. That could be individual opinion. :-) Moreover, I have not seen your name in any of the topics on this list or remembered it in any reply, Your memory might be playing tricks on you:

[PHP] Re: Semi-ADVERT, not really spam, sorry for it

2008-08-19 Thread V S Rawat
On 8/19/2008 5:06 PM India Time, _Colin Guthrie_ wrote: metastable wrote: V S Rawat wrote: If you provide paid help in code development/ testing/ troubleshooting related to php or other software areas, please feel free to drop a line to me at my id mentioned below. Please don't write here

Re: [PHP] Re: Semi-ADVERT, not really spam, sorry for it

2008-08-19 Thread V S Rawat
On 8/19/2008 5:22 PM India Time, _Stut_ wrote: On 19 Aug 2008, at 12:36, Colin Guthrie wrote: metastable wrote: V S Rawat wrote: If you provide paid help in code development/ testing/ troubleshooting related to php or other software areas, please feel free to drop a line to me at my id

Re: [PHP] Semi-ADVERT, not really spam, sorry for it

2008-08-19 Thread V S Rawat
command line processor or javascript like shell of php, but seems there are none. Why not ask for unpaid help here? Well, the usual culture in techy ng-s/ ml-s is NO-SPOONFEEDING. If I ask questions here, members would surely help me but would ask me to read such and such webpage or manual

Re: [PHP] Semi-ADVERT, not really spam, sorry for it

2008-08-19 Thread V S Rawat
On 8/19/2008 5:49 PM India Time, _metastable_ wrote: I stand by my point though. Had it actually been an advert, which it was not, a post count of 9 would not inspire confidence in his qualities as a determined support engineer. I think incorrigible is the word for you. V S rawat java

Re: [PHP] Semi-ADVERT, not really spam, sorry for it

2008-08-19 Thread V S Rawat
On 8/19/2008 8:11 PM India Time, _Stut_ wrote: Sorry for the top-post, and please don't be offended by the following... Much as you would probably like to think it's a good business model, bidding low for projects I would be bidding low? Where did I say that? Currently I am not at all

[PHP] undefine variable

2008-08-17 Thread Michael S. Dunsavage
'; ? -- -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] undefine variable

2008-08-17 Thread Michael S. Dunsavage
to change the permissions (it was a backup I had restored) and restart mysql. But you have a lot of useful information in your list, so I'll be keeping it. -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP editor for linux

2008-08-14 Thread Michael S. Dunsavage
On Thu, 2008-08-14 at 10:05 -0700, It flance wrote: Hi, What do you think is the best php editor for linux. I'm using the Debian distribution. Thanks I use geany and Quantum -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Why PHP4?

2008-08-08 Thread V S Rawat
http://www.onshore.com V S Rawat wrote: I was surprised to see some very busy and well to do Chartered Accountants, Company Secretaries still using those 8086 pcs with Wordstar and lotus that were there on mid 80s. They say these are no more available so data in these pcs and these formats

Re: [PHP] Why PHP4?

2008-08-07 Thread V S Rawat
On 8/7/2008 7:42 PM India Time, _Judson Vaughn_ wrote: Kudos to Richard. If its fixed, don't break it. Jud. == Per Jessen wrote: Richard Heyes wrote: I'm interested - why are people still using PHP4? It's been over 4 years (I think) - plenty of time to upgrade to five.

Re: [PHP] Newbie problem: Php script not running in browser.

2008-08-06 Thread V S Rawat
On 8/6/2008 2:58 AM India Time, _Andrew Ballard_ wrote: On Tue, Aug 5, 2008 at 3:05 PM, V S Rawat [EMAIL PROTECTED] wrote: I have put the first php script to hello.php file: html head titlePHP Test/title /head body ?php echo 'pHello World/p'; ? /body /html I am on xpsp3, wampserver

Re: [PHP] Newbie problem: Php script not running in browser.

2008-08-06 Thread V S Rawat
Systems [EMAIL PROTECTED] | Cell: +91 94033 66714 | Tel: +91 (0832) 30 79014 Innovation in software product design, development and delivery- www.persistentsys.com -Original Message- From: V S Rawat [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 2:53 PM To: php-general

Re: [PHP] Newbie problem: Php script not running in browser.

2008-08-06 Thread V S Rawat
66714 | Tel: +91 (0832) 30 79014 Innovation in software product design, development and delivery- www.persistentsys.com -Original Message- From: V S Rawat [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 7:22 PM To: Chetan Rane Subject: Re: [PHP] Newbie problem: Php script

[PHP] Newbie problem: Php script not running in browser.

2008-08-05 Thread V S Rawat
I have put the first php script to hello.php file: html head titlePHP Test/title /head body ?php echo 'pHello World/p'; ? /body /html I am on xpsp3, wampserver 2.0, having apache 2.2.8, php 5.2.6, MySQL 5.0.51b http://localhost/ is E:\wamp\www I put the hello.php file to

[PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Rahul S. Johari
Ave, What I have is two Select (Drop-Down) lists (State County) and I'm populating them from a mySQL table. What I want is when the user selects the State from the State List, the County List should only pull out counties associated with that State. Now I know that you can create such

Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Rahul S. Johari
On Jul 31, 2008, at 12:55 PM, Boyd, Todd M. wrote: -Original Message- From: Rahul S. Johari [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2008 11:40 AM To: php-general@lists.php.net Subject: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! Ave, What I have is two Select

Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! -- SOLVED!!

2008-07-31 Thread Rahul S. Johari
Did IT Haha ... just as you were probably writing in sending this mail. I pretty much used your theory and actually did look around under http://www.w3schools.com/ajax/ to get the relevant AJAX information. Works like a charm. Pretty much using an

Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! -- SOLVED!!

2008-07-31 Thread Rahul S. Johari
On Jul 31, 2008, at 3:10 PM, Boyd, Todd M. wrote: -Original Message- From: Rahul S. Johari [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2008 2:06 PM To: Boyd, Todd M. Cc: php-general@lists.php.net Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! -- SOLVED

[PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
Ave, I'm wondering if there's a PHP solution to this, I could be in the wrong place. I have an INSERT form which submits to the same php page, which also displays the records from the mySQL database the INSERT form submits to. When the form submits and the page returns, the added record

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
); header('Last-Modified: '.gmdate('D, d M Y H:i:s', $time).' GMT'); On Tue, Jul 22, 2008 at 1:14 PM, Rahul S. Johari [EMAIL PROTECTED] wrote: Ave, I'm wondering if there's a PHP solution to this, I could be in the wrong place. I have an INSERT form which submits to the same php page, which

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
time in the future, the server MUST replace that date with the message origination date. So do not send a future date! On Tue, Jul 22, 2008 at 2:11 PM, Rahul S. Johari [EMAIL PROTECTED] wrote: I tried with just the first three header() statements you gave, but it didn't work. Let me try

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
at 9:33 AM, Rahul S. Johari [EMAIL PROTECTED] wrote: Hmm, interesting. In my case, $file does indeed output dynamic data. I did try with the modified time but it still doesn't work. I still have to hit refresh on the browser, after submitting the form, in order for the inserted record

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
It works, but it's not the most efficient solution. The page has heavy graphics text. Using the header(Location: a.php) loads the page in question twice. Slower connections will respond slowly to the page. In theory, the header() statements for not using cache should have worked - I'm

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
issue. I could be wrong though. On Jul 22, 2008, at 9:08 AM, Thijs Lensselink wrote: Quoting Rahul S. Johari [EMAIL PROTECTED]: Here's what it is: I have a php page, a.php, which contains these three things: - SELECT statement to display records from a mySQL Table - HTML Form for inserting

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
if possible. Unless there doesn't exist any alternates, which still stumps me. Thanks! On Jul 22, 2008, at 10:37 AM, Andrew Ballard wrote: On Tue, Jul 22, 2008 at 10:24 AM, Rahul S. Johari [EMAIL PROTECTED] wrote: It works, but it's not the most efficient solution. The page has heavy graphics

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Rahul S. Johari
is lying somewhere in either Firefox 3 or my settings of Firefox 3. Let me look into this. Thanks guys! On Jul 22, 2008, at 10:45 AM, Thijs Lensselink wrote: Quoting Rahul S. Johari [EMAIL PROTECTED]: No, actually the flow of the program does not work in that order. The flow of the program

Re: [PHP] Freelance PHP development in India

2008-07-16 Thread Ryan S
No apologies necessary, good luck! Cheers! R - Original Message From: Denis L. Menezes [EMAIL PROTECTED] To: Ryan S [EMAIL PROTECTED]; Wolf [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Monday, July 14, 2008 3:31:43 PM Subject: Re: [PHP] Freelance PHP development

Re: [PHP] Freelance PHP development in India

2008-07-14 Thread Ryan S
snip Dear friends. I am looking for freelance web developers in India. Can contact me? Why just in India? There are a number of us available via the world. Wolf /snip I'm guessing because he wants a REAL cheap solution... what you (probably) charge for 5-7hrs work would probably

Re: [PHP] Most popular per month

2008-07-13 Thread Ryan S
Thanks Brady, Wolf, Bernhard! Will write back if i hit a wall but I think your explanations and links should take me all the way. Cheers! Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Most popular per month

2008-07-12 Thread Ryan S
Hey! Thanks for replying! snip .. . $perc50=(img50 int)/$total; You can do it per day, per month, per year, per 28 days, per PMS cycle, per anything you want provided you have the data to do it. /snip :) this is the part where i am a bit confused actually, can you give me one or two

[PHP] Most popular per month

2008-07-11 Thread Ryan S
Hey! The client has a set of 50 images that keep rotating everyday and when a user clicks one of those images he is taken to that images site, in the background (database) i maintain a counter _for the day_ and then display the top ten images everyday in this format: 1-10 before the next days

Re: [PHP] Re: Trying to keep a dropdown selection sticky [solved] - Forgive the length of message, please

2008-07-05 Thread Michael S. Dunsavage
On Sat, 2008-07-05 at 21:30 +1000, Peter Jackson wrote: Michael S. Dunsavage wrote: I have a form I want to keep sticky, but I can't figure out how. I got all the INPUT's to be sticky The select script ?php echo 'strongState/strongbr'; echo 'select name=State

RE: [PHP] Trying to keep a dropdown selection sticky

2008-07-05 Thread Michael S. Dunsavage
for the explanation. -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Trying to keep a dropdown selection sticky

2008-07-05 Thread Michael S. Dunsavage
is $choice coming from? or is that the name of the select in SELECT NAME='namehere' -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scrambling a word

2008-07-04 Thread Michael S. Dunsavage
On Fri, 2008-07-04 at 18:52 -0400, Ron Piggott wrote: I am using PHP 4 I am trying to figure out how to scramble a word. Example: hello so the output might be elolh Any ideas? Ron http://koivi.com/letter-scramble/ -- Michael S. Dunsavage -- PHP General Mailing List (http

[PHP] Trying to keep a dropdown selection sticky

2008-07-04 Thread Michael S. Dunsavage
; } echo '/select'; echo 'br'; ? so now how do I keep that sticky? -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] O-T What are we going to do about the O-T thread that asks the question: What we are going to do about those OT's?

2008-06-24 Thread Ryan S
Sorry, had to ask :o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Monitor a WP website

2008-06-24 Thread Ryan S
Hey, Is there a way to check if a new post has been submitted on your favourite wordpress site? Heres what i am trying to do: do a fopen http://ezee.se/articles-blog/ via CRON every x minutes if a new post has been submitted, i mail someone... but am not just looking to do this for this one

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
Hey Eric, Stut, Maybe you should start by trying to utilize the RSS feed. Went to that option at first too... but have a quick look around, there are many sites that for some reason dont have this feature turned on, and for them... the only option i think is to read the page... unless I am

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
clippity So, you want something to tell you if something new has been added to a remote site, right? There used to be free services that did that -- I used to monitor competitors's web sites using such service. But, I think they eventually stopped the free service. Here's one site that

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
Got an example? I've never seen a WP site with RSS feeds disabled. Hey Stut, Actually, dont have an example.. :o) but i have seen this question of how to disable wordpress rss frequently come up on many forums ( a quick google search with wordpress disable rss gives up quite a few results)

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
snippy If it's RSS, I think it's going to be XML regardless of the language they're using to assemble it (Perl, PHP, ASP, etc.). I might be wrong, but I thought that's part of what made it RSS. I'm afraid to click on a site with the url ballz.info while I'm at work. :D Any other WP feed examples?

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
cut Okay, then get_file_contents(), parse between the tags that would contain the stuff you want to monitor, hash, store that, and do what I said. /cut So far yours has been the best solution Tedd, thanks! Cheers! R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
chip Ryan, That feed is indeed XML. /chip Ooookay! I think i see where my confusion was coming in opening the http://www.ballzbollywood.com/feed/; in FF3 automatically parses it in a way... as does it in IE7... but opera is giving me the raw feed and it makes sense again. (Am on win

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-21 Thread Ryan S
P.S will be deleting the urls that you created, hope you dont mind, coz just in case someone later keeps using the url you posted via the archives... Hang on, I want to post it on Digg first Hehe, no fear there... all my posts on dig never get me more than a few clicks

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-20 Thread Ryan S
someone later keeps using the url you posted via the archives... -- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) - Original Message From: Daniel Brown [EMAIL PROTECTED] To: Ryan S

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-20 Thread Ryan S
clip Thats why I love this place... theres so many ways to skin a cat Yeah, but the cat ain't going to like any of them. (Foxworthy) /clip Hehe good one! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-19 Thread Ryan S
clip I really dont see what anybody could gain by spamming this form but anyway it does check to make sure the person submits something that starts with http via strstr (after bringing it down to lowercase, thats why i didnt use stristr, and because it checks just http, https too is

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-18 Thread Ryan S
clip Thanks for replying m8, but if you check the rest of the thread you will see this has alraedy been solved and the result is http://ezee.se/ezeeurl.php?do=1 Cheers! Ryan How do you protect this thing from being spammed? I do not know why somebody would spam it, but I have had all

Re: [PHP] Kindla 0T, but here goes...

2008-06-17 Thread Ryan S
Hey, clip I agree with Daniel. Your most likely solution is to use a Flash player (or similar implementation) and populate a portion of your page with the object via AJAX (which you are already apparently comfortable with). Or make your own Flash player with Ming and PHP. Working on that

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-17 Thread Ryan S
Thanks for replying m8, but if you check the rest of the thread you will see this has alraedy been solved and the result is http://ezee.se/ezeeurl.php?do=1 Cheers! Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Kindla 0T, but here goes...

2008-06-13 Thread Ryan S
Hey! Heres what i have done so far: I ask the user for his style of music by displaying for example 3 links in the div id=music like rock, pop,sentimental when the user clicks on any of those links i do a quick trip to the DB via ajax and update the div with all the artists that his choice

Re: [PHP] Kindla 0T, but here goes...

2008-06-13 Thread Ryan S
[mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 4:13 PM To: Ryan S Cc: php php Subject: Re: [PHP] Kindla 0T, but here goes... On Fri, Jun 13, 2008 at 4:49 PM, Ryan S [EMAIL PROTECTED] wrote: when the user clicks on any of those links i do a quick trip to the DB via ajax and update

[PHP] Re: Execute php commands that are in an array

2008-06-05 Thread Ryan S
Hey all! Disregard my last email as i solved it myself via eval()... Cheers! R Hey, its easier to start with code and then explain: $t_array[]='chr(rand(97,122))'; echo $t_array[0]; The above code outputs chr(rand(97,122)) How can i execute that above code from the array instead of

[PHP] Execute php commands that are in an array

2008-06-05 Thread Ryan S
Hey, its easier to start with code and then explain: $t_array[]='chr(rand(97,122))'; echo $t_array[0]; The above code outputs chr(rand(97,122)) How can i execute that above code from the array instead of displaying it? Thanks! Ryan -- - The faulty interface lies between the chair and

[PHP] Search like php.net's URL thingy

2008-06-05 Thread Ryan S
Hey, one of the things that make the php.net site so cool is how easy it is to find info for a function or a list of topics.. eg: http://php.net/arrays http://php.net/count I'm sure nearly all of you reading this have done it more times than you would care to count, i'm trying to get something

Re: [PHP] Search like php.net's URL thingy

2008-06-05 Thread Ryan S
and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) - Original Message From: Bernhard Kohl [EMAIL PROTECTED] To: Ryan S [EMAIL PROTECTED] Sent: Thursday, June 5, 2008 9:25:46 PM Subject: Re: [PHP] Search like php.net's URL thingy you should

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-05 Thread Ryan S
clip As far as I remember, errordocument still send the code, in this case 404 to the client. In the case of IE, this will display IEs built-in error doc if the server supplied one is 512 Bytes. Maybe other implications for spiders also. I might be wrong, but this is from some old memory.

Re: [PHP] Re: Search like php.net's URL thingy [0.T]

2008-06-05 Thread Ryan S
Hey again, First of all please note that i added a [0.T] (= off topic ) to the subject so if you dont want to continue with something OT, now's the time... Ok... for anyone thats curious as to why i wanted this.. just completed my version of tinyURL... except, its even more tiny!! Have

Re: [PHP] Anybody got a little spare time to help me out with a little OOP

2008-06-01 Thread Ryan S
Hey! snip Here would be my incarnation of this script ?php $sample_string=From http://www.ezee.se/ The UK police are by far one of the most open to being greedy and corrupted by their afore mentioned greed, case and point: the hundreds of extra speed cameras that are put in place with an idea

[PHP] Update does not work...but no errors either

2008-05-31 Thread Ryan S
Hey, This is my code: == $update_sql=update greetings_final set heading='$heading',message='$message',signature='$signature',font_size='$font_size',font_color='$font_color',bg_color='$bg_color' where temp_cno='.$thecno.' and

Re: [PHP] Update does not work...but no errors either

2008-05-31 Thread Ryan S
Hey DB, Thanks for replying, I did solve it though was running a lot of tests and checking a lot of stuff with the fill before i finally added the database stuff... but forgot to include() the connection file :) Thanks for writing though! Cheers! R -- PHP General Mailing List

[PHP] Anybody got a little spare time to help me out with a little OOP

2008-05-31 Thread Ryan S
coz i suck at OOP! Hey! Am trying to modify a wordpress plugin file,the name of the plugin is POST TEASER and can be downloaded from here http://wordpress.org/extend/plugins/post-teaser/, it works as advertised and this is what it does: I specify for example 4 words before the page should be

Re: [PHP] A bit 0T - WAMPSERVER

2008-05-30 Thread Ryan S
clip STW? http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html /clip Thanks, I did STW and find that link but am just a bit unsure if while WAMPSERVER2 I should go in and do it like the above url suggests... was wondering if like XAMPP there were specific instructions to follow.

[PHP] A bit 0T - WAMPSERVER

2008-05-29 Thread Ryan S
Hello all! Had some big problems with XAMPP crashing my windows (Vista) laptop 8 times out or 10 (actual figures) as I started XAMPP so have shifted over to WAMPSERVER2 So far so good, no crash... but their website seems to be down and need one small tidbit... if anyone of you are using

[PHP] Weird update problem..

2008-05-25 Thread Ryan S
This is really weird... i have tried the same exact code in phpmyadmin and it works like a charm, but when i run the script... no errors then i go to phpmyadmin and nothing has changed :( this is the code:

Re: [PHP] Weird update problem..

2008-05-25 Thread Ryan S
clip $result = mysql_query($sql_1); You're running the wrong query. You're building a query in $update_sql but running something else. /clip DUH!!! Thats what you get for being up all night i guess! Time to hit the sack... pulled an all nighter and its 7:24am now Some of the comments here:

Re: [PHP] 0T - Request for quick test

2008-05-20 Thread Ryan S
-- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) - Original Message From: Daniel Brown [EMAIL PROTECTED] To: Ryan S [EMAIL PROTECTED] Cc: php php php-general@lists.php.net Sent: Tuesday, May 20

<    1   2   3   4   5   6   7   8   9   10   >