[PHP] FW: No Subject

2013-03-16 Thread Ryan S
http://www.coachholidays.co.uk/ramlm/hfoqauyyvomdvio.kaxkucbebccxpzq

[PHP] Help with regex (search/replace) please

2010-02-06 Thread Ryan S
Hey guys, As many of you might know, i totally suck at regex..so would really appreciate some help here. Basically i have a html page with a lot of textboxes,radios,checkboxes etc i need your help in the form of a regex so that when i give it the name and value it gives me the entire code of

[PHP] Help with regex (search/replace) please

2010-02-06 Thread Ryan S
Hey guys, As many of you might know, i totally suck at regex..so would really appreciate some help here. Basically i have a html page with a lot of textboxes,radios,checkboxes etc i need your help in the form of a regex so that when i give it the name and value it gives me the entire code of

Re: [PHP] Help with regex (search/replace) please

2010-02-06 Thread Ryan S
Hey Ash,Bastien! clip Rather than a regex, you're probably better off using something like DomDocument, where you can iterate over all of the input elements in the document, and check the attributes of each one to check if they match your criteria. /clip @Ash, You're kinda reading my mind...

Re: [PHP] DOM TextArea (and dom chart please)

2010-02-03 Thread Ryan S
I think what you are looking for is $input2-textContent in PHP. Hey Andrew (and everyone else was was kind enough to write back) ! Found the solution, this is what i am using (and it works!), and i hope it helps anyone else who finds themselves in the spot i found myself $inputs2 =

[PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Ryan S
Hey Guys, Coming from a C and Java background I just loved PHP and have been programming with it for years thanks in a large part to the kind people on this list... present and past (Immediately the name John Holmes comes to mind.. i hope the dude is well) but now I have have to leave PHP or

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Ryan S
Thanks for the reply Michael, Robert and Jochem, makes sense, a native windows app is going to look more in place than any of the demos and graphics i have seen of GTK. Was also looking at GTK-Builder, unfortunately you really have to hunt for each scrap of new info - which is why I'm guessing

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Ryan S
Thanks for the links and advise guys! Of all I found this most interesting as it would run native: check out http://www.php-compiler.net/doku.php unfortunately I think this project is dead or at best stagnant because the server is slower than a 99 year old on weed and forums link dead.

[PHP] DOM TextArea (and dom chart please)

2010-02-02 Thread Ryan S
Hey! i'm just starting with PHP's DOM-XML and need a little help please. Basically, first i am trying to see if a input like a textbox has a 'VALUE=' associated with it, if yes, i leave it be, if no, i add a default value. This *is working* as can be seen by the attached code below. But a bit

Re: [PHP] DOM TextArea (and dom chart please)

2010-02-02 Thread Ryan S
// I have even tried this instead of the above: foreach ($inputs2 as $input2) { if(!$input2-getAttribute(defaultValue)==) { $input2-setAttribute(defaultValue,it works!); } } but no joy. I'm betting its pretty simple but i dont have a DOM chart for php, the

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

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

[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

[PHP] 0T - Request for quick test

2008-05-19 Thread Ryan S
Hey guys, Just make a egreeting app and need people to just test the AJAXy upload that i have on the form, if you have any problems please tell me.. if it goes smooth please tell me... as usual, any comments and suggestions too would be appreciated. This is the form:

[PHP] Plugins... (like wordpress?)

2008-05-15 Thread Ryan S
Hey, Have just started screwing around with wordpress and I must say... it has a lot of really really nice bits and pieces... two of my favourites are widgets and plugins... not a hundred percent certain exactly what the diff is though! :) Anyway, was thinking it would be a great way to

Re: [PHP] Re: Re[PHP] gex to catch ps

2008-05-07 Thread Ryan S
Hey, clip $tag_regex=array( '/\p(\s*)\(.*?)\\/p\ /si' = $1, '/\(\s*)(*.?)class\=(*.?)\(.*?)\\/(*.?)\/si' = $3 ); $paragraphs=preg_replace(array_keys($tag_regex),array_values($tag_regex),$page); I am not sure what tag is that you mean on class=something, but in this RE .. it should

Re: [PHP] Regex to catch ps (weird result)

2008-05-07 Thread Ryan S
clip preg_match_all('|p[^]*(.*)/p|Ui', $myText, $myArray); /clip Hey! Thanks for replying. Your preg_match_all works like a charm, but for some reason catches only 8 out of 9 paragraphs... its really weird. I have upped the test page to http://www.ezee.se/tests/para_regex2.php.txt so you

Re: [PHP] Regex to catch ps (weird result)

2008-05-07 Thread Ryan S
clip http://www.ezee.se/tests/para_regex2.php.txt Yep, sorry... Just add the s preg_match_all('|p[^]*(.*)/p|Uis', $myText, $myArray); /clip Swett! It works! If you _do get time_, would love to know the actual meaning of |p[^]*(.*)/p|Uis because although I do appreciate the help and

[PHP] Regex to catch ps

2008-05-05 Thread Ryan S
Hey all! To say I suck at regex is an understatement so really need any help I can get on this, I have a page of text with different html tags in them, but each block of text has a p or a class=something tag... anybody have any regex that will catch each of these paragraphs and put then

Re: [PHP] Regex to catch ps

2008-05-05 Thread Ryan S
clip To say I suck at regex is an understatement so really need any help I can get on this, I have a page of text with different html tags in them, but each block of text has a p or a class=something tag... anybody have any regex that will catch each of these paragraphs and put then

Re: [PHP] Xampp question, pretty much 0T

2008-05-01 Thread Ryan S
/* Top posting from my cell... 1. Format hard drive 2. Install redhat fc8 or Ubuntu 8.04 3. Load the new MySQL installation with your backup file If you really have to stay with windoze, remove and re-install apache. Look at the system log files as they SHOULD tell you what was causing the

[PHP] Categories like wordpress

2008-05-01 Thread Ryan S
Hey! Heres what i have to do, upload pics and each pic can be a part of x number of categores for example: A picture of a rose can be for birthday, as well as anniversary, or miss you, or love etc exactly the same as how in wordpress an article can be in multiple categories like tech, current

Re: [PHP] Xampp question, pretty much 0T

2008-05-01 Thread Ryan S
/* Top posting from my cell... 1. Format hard drive 2. Install redhat fc8 or Ubuntu 8.04 3. Load the new MySQL installation with your backup file If you really have to stay with windoze, remove and re-install apache. Look at the system log files as they SHOULD tell you what was

Re: [PHP] Xampp question, pretty much 0T

2008-05-01 Thread Ryan S
Cant afford a new comp or a new OS and as for your last statement: http://www.sophos.com.au/pressoffice/news/articles/2006/02/macosxleap.html _almost_ no virii for the Mac :) /* None that have effected my computers here at work, or at home. No anti- virus, no firewall's ;) Oh and I'll

Re: [PHP] Categories like wordpress

2008-05-01 Thread Ryan S
Hey! Thanks for replying guys! clip 1. Fully normalised, where you have three tables - one for your articles, one for your categories and a link table. This is the route that I would suggest, it's the most flexible and fastest to query. /clip Anyone happen to have a little PHP code

Re: [PHP] Categories like wordpress

2008-05-01 Thread Ryan S
Hey, Am not really used to using the JOIN in SQL so am a bit confused as to what kind of data I need to enter into this table: image_category_mapping table: - image_id - category_id for all of this to work... mind explaining a bit? Thanks! Ryan

Re: [PHP] Xampp question, pretty much 0T

2008-04-30 Thread Ryan S
clip After reading a bit I see that if I just copy the data directory in the mySql directory, I can restore it from there? any idea if I have that wrong? Hmm I guess, but I'd take the safer road and open a console and run: mysqldump.exe -u username -p --all-databases --add-drop-database --opt

[PHP] Xampp question, pretty much 0T

2008-04-29 Thread Ryan S
Hello! I have been using XAMPP for quite some time now (thanks to the recommendations from this list) without any real complaints... and the only reason I am writing here is because i am sure a lot of you guys run the same thing considering the amount of people who recommended it to me when

Re: [PHP] Xampp question, pretty much 0T

2008-04-29 Thread Ryan S
You could try their forums: http://www.apachefriends.org/f/?language=english Thanks! Just after I posted i started searching on google and found them, have joined and posted... no reply as yet... just the waiting game now i guess. Main prob is I cant even get phpmyadmin running to copy the

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey Pete, ** First, you should reply to the list - that way more people could see the links you posted and help out. ** Oops, my mistake, I thought I did that. Will add a snip at the bottom of this email. ** It looks like there may be a problem with the form tags - when I look at this code I

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey! Thanks to you and everyone else who replied, I have fixed the problem by remaking the tables... This is not really anything to do with PHP, of course... :) :) True, in the end it was not. But in the beginning I couldnt figure out for the love of god why my PHP script was not getting

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey Jim, Yep, That was the problem fixed that and now everything works. *** While we are on the topic of the form../form tags, just a side note. It is invalid HTML syntax to have any tag between your tableILLEGALtrILLEGALtd ok here /tdILLEGAL/trILLEGAL/table As a note: the only

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey Bill, Thanks for the tips, makes sense and will try to follow them. Cheers! R * Ryan, Four observations: 1. Don't try to solve your problem by changing the DOCTYPE. Bad HTML is bad HTML. Changing the DOCTYPE may reduce the severity of the problem, but it won't solve it. 2.

[PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Ryan S
Hey everyone, A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or just me. (My money is on the last one :p ) Here's what I am trying to do: In a form I have a listbox with the values 1-5, and under the listbox i have a TD with the id of recips (like so: TD

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Ryan S
Hi Guys, Thanks for responding, will try to answer everyone in the same order. Mark W: Thanks for replying! Since I'm relatively new to PHP I could be off on this, but I'd say yes, $_REQUEST is wrong. I would think you'd want to use $_POST to receive the incoming values from a form.

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Ryan S
-general@lists.php.net Sent: Tuesday, April 8, 2008 11:18:36 PM Subject: Re: [PHP] dynamic boxes problem... JS and PHP On Tue, Apr 8, 2008 at 3:51 PM, Ryan S [EMAIL PROTECTED] wrote: Hi Guys, [snip] Andrew: Thanks for replying! [snip] Also, FWIW, I doubt it has anything to do with your problem

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Ryan S
, Ryan S [EMAIL PROTECTED] wrote: Hey! Thanks Andrew, will look into those points that you sent me. First thing to change will be the DOCTYPE I think, as i didht type that but must have copied code into a pre-made page... One thing I learned when screwing around with AJAX

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Ryan S
, Ryan S [EMAIL PROTECTED] wrote: Hey! Thanks Andrew, will look into those points that you sent me. First thing to change will be the DOCTYPE I think, as i didht type that but must have copied code into a pre-made page... One thing I learned when screwing around with AJAX is that it, like

[PHP] Comparing file creating dates...

2008-03-22 Thread Ryan S
Hey all, Heres what i am trying to do: When someone sends a message from my site, i take their ip address and make a file with their ip address in a directory called hash-directory, the file looks like this: 169.34.534.243.txt I want to make sure they cant send too many messages because of