[php-list] regular expressions

2008-08-07 Thread mark mckee
the regex, not echoing the info and just storing them in a variable, but the script fails to update the DB can anyone help point me in the right direction? TIA Mark Mckee

Re: [php-list] Installing PHP 4.3.9 on Apache 2.2. on Vista Home

2008-07-23 Thread mark mckee
Hi Emily Not sure how much help I can be, but have you tried registering the dll file? you could try this start > run and type regsvr32 C:/Program Files/Apache Software Foundation/Apache2.2/modules/php4apache2.dll It may be worth a shot if you have not tried it before. HTH Mark Emily Berk w

Re: [php-list] Local servers

2007-06-15 Thread mark mckee
double check to make sure that both servers are not assigned to port 80. check your router settings and forward the correct ports etc... hth Mike Brandonisio wrote: > > Hi, > > Check your windows firewall. Turn it off or configure to allow http. > > Sincerely, > Mike > -- > Mike Brandonisio * I

RE: [php-list] after certain date do this....

2007-05-15 Thread Mark Mckee
In message <[EMAIL PROTECTED]>, Mark Mckee <[EMAIL PROTECTED] <mailto:lists%40soddengecko.com> > writes >I am using an sql statement to get the number of rows (users) in the DB, but >how would I get it to distinguish between dates > > > >$link = mysq

RE: [php-list] after certain date do this....

2007-05-14 Thread Mark Mckee
ance Mark M. From: php-list@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Mckee Sent: 13 May 2007 20:32 To: php-list@yahoogroups.com Subject: RE: [php-list] after certain date do this That's certainly food for thought. I will break it down and test it over the

RE: [php-list] after certain date do this....

2007-05-13 Thread Mark Mckee
D] On Behalf Of Pete Sent: 13 May 2007 20:23 To: php-list@yahoogroups.com Subject: Re: [php-list] after certain date do this In message <[EMAIL PROTECTED]>, Mark Mckee <[EMAIL PROTECTED] <mailto:lists%40soddengecko.com> > writes >I have not got a piece of code as I cannot

RE: [php-list] after certain date do this....

2007-05-13 Thread Mark Mckee
be if you post the code you have that's not working, we can help you get it working. -D. Israel [EMAIL PROTECTED] <mailto:dan%40ebji.org> http://www.customcodebydan.com AIM: JudoDanIzz (A)bort, (R)etry, (I)nfluence with large hammer. > -Original Message- > From:

RE: [php-list] after certain date do this....

2007-05-13 Thread Mark Mckee
edate is 5 days out = font color equals red. Sending the email is the same... if the duedate is five days out = font color red, send mail. Wade On Sun, 2007-05-13 at 17:23 +0100, Mark Mckee wrote: > Hi All > > > > I need a little help. I am creating an internal site for work. Ba

[php-list] after certain date do this....

2007-05-13 Thread Mark Mckee
Hi All I need a little help. I am creating an internal site for work. Basically we will be adding names and info to a database that have to have certain things done before a certain date. Each date is different. I need a little help with a php script that will detect the date and change the fon

Re: [php-list] Recommend a good hosting service

2007-03-03 Thread Mark Mckee
ated a Paypal "Dispute" with them. > The've got my money and I have nothing. > > Companies like this think they are a law unto themselves. > Regards, Bob Exton. > > > - Original Message - > From: Mark Mckee > Hi, > > had to jump in on

Re: [php-list] Templating

2007-01-09 Thread Mark Mckee
Hi Ed I put something together not so long ago that solved my templating needs. It is by no means perfect but it does work and is easy enough to implement. it's a basic piece of code that uses a database entry to pick the correct template. for example: function gl_header() { $sql = 'SELECT *

Re: [php-list] Recommend a good hosting service

2006-11-03 Thread Mark Mckee
Hi, had to jump in on this one and recommend http://www.ukhost4u.com i have been using them now for a year and have not had a problem. they are based in the UK and provide 2gig of space, 100gig of transfer a month all for £5.86 GBP I really rate them highly huaracheveloz69 wrote: > > > Hi,

Re: [php-list] redirect if not logged in

2006-10-29 Thread Mark Mckee
Hi thanks for the info. that was just the info i was looking for. i put the code together from a tutorial and some other information so i will definatly look into changing it thanks again mark m... [EMAIL PROTECTED] wrote: > > > - Original Message - > From: <[EMAIL PROTECTED]

[php-list] redirect if not logged in

2006-10-28 Thread Mark Mckee
hi all im having a little trouble with a login script. all works fine but i can still access the admin pages with the full url. do you have any pointers on how i can solve this? this is the script im using LOGIN ERROR Invalid Username and/or PasswordBack Logout LOGIN

[php-list] using URL's to update mysql db

2006-10-27 Thread Mark Mckee
hi all I am writing a small templating instruction and so far have everything working neatly. I have a few queries I would like to run by you guys as I'm having trouble finding the answer, I have looked in the usual places and found nothing that helps. each template sits in its own folder i.e.

[php-list] Link database

2006-09-30 Thread Mark Mckee
hi all. i am making a small database of links. each link is categorised depending on the category it is entered into. i am having trouble displaying the links correctly. for some reason I cannot seem to get the links listed in the correct category, nor will they align alphabetically. here is

Re: [php-list] Event Calendar

2006-09-30 Thread Mark Mckee
hi Thanks to both Anthony and Bob for your help. everything with that script is sorted now. apologies for the late reply, its been a starnge few days. kind regards Mark M... Community email addresses: Post message: php-list@yahoogroups.com Subscribe:[EMAIL PROTECTED] Unsubscribe:

[php-list] Event Calendar

2006-09-26 Thread Mark Mckee
Hi all. It's simple to go and download a calendar, but i wish to actually create my own. Does anyone here know of any good resources for creating my own event calendar? Kind regards Mark M... Community email addresses: Post message: php-list@yahoogroups.com Subscribe:[EMAIL PROTECTE

Re: [php-list] similar to a blog post help

2006-09-13 Thread Mark Mckee
> Regards, Bob E. > Hi Bob. I owe you a debt of gratitude so far. Thanks to your info I modified my database slightly to consider the date/time method you used in your code, modified my input of the date and voila, the output is perfect, just how i wanted it. will wait till after midnight

Re: [php-list] similar to a blog post help

2006-09-12 Thread Mark Mckee
> Hi Mark, > I don't think this is what you want but: > $mth = date('F'); > $day = date('l jS'); > echo "$mth\n"; > echo $day."\n"; > echo 'Page 1 '.$comment1."\n"; > echo 'Page 2 '.$comment2."\n"; > // etc. > ?> > > Are you reading data from a database? > Are you wanting to format a full html pa

Re: [php-list] similar to a blog post help

2006-09-11 Thread Mark Mckee
Hi Bob i am using php's ftp command to connect to his server. since posting this i have found snippets of info i have managed to cobble together. i decided to change (at friends request) the input method. i now add the link to a database. once all the links are in, clicking a button will then

Re: [php-list] similar to a blog post help

2006-09-11 Thread Mark Mckee
Hi Bob > Hi Mark, > I still don't see what you're trying to do. > Are you trying to use your site to run cgi programs for your friend's site, > which doesn't have php installed? > basically yes. i will be using a php page that will log on to his server, download the file to a tmp directory, am

Re: [php-list] similar to a blog post help

2006-09-11 Thread Mark Mckee
append to the file in the correct place. am i barkign up the wrong tree with this idea and should i just keep trying to convince him to pay for a decent host? mark... Bob wrote: > > - Original Message - > From: Mark Mckee > i need some help writing a script. basically i wa

[php-list] similar to a blog post help

2006-09-10 Thread Mark Mckee
hi all. i need some help writing a script. basically i want to have a form that allows me to add a) a URL b) a small blurb about the site c) a drop down menu to select the correct class for the LI and now the bit i need help with d) when the submit button is pressed, the link and info that was

Re: [php-list] Re: some help with a small script [NEW ISSUE] [SOLVED]

2006-08-23 Thread Mark Mckee
hi all my impatience will get the better of me in the end. the problem is now solved. i was using (depracated) tags to display the outputted html because would not work unless I used html special characters. i changed to and special characters and problem solved. hope i havnt wasted anybod

[php-list] Re: some help with a small script [NEW ISSUE]

2006-08-23 Thread Mark Mckee
hi all the original problem was solved thanks to Nick and the script works perfectly. the only gripe my friend/client has is that when the html is outputted so he can copy and paste the text into his html document, there is a space instead of a line break. for example: Thursday 24th it sho

Re: [php-list] Re: some help with a small script

2006-08-22 Thread Mark Mckee
Hi Nick. thanks to your pointers I was able to complete the script and it now works exactly as requested. my friend is happy and off my case lol. thanks once again mark m... Nick wrote: > > > --- In php-list@yahoogroups.com <mailto:php-list%40yahoogroups.com>, >

Re: [php-list] Re: some help with a small script

2006-08-21 Thread Mark Mckee
thanks for the quick reply Nick, I shall definatly be looking at that. ok the code for the main page is this: My First PHP Page Blog Fun Games Information News Pictures Technology Update Video Wales Link: Link Name: Some Blurb: Blog Fun Games Information

[php-list] some help with a small script

2006-08-21 Thread Mark Mckee
hi all i have written a form for a friend that allows him to enter links and some info and then output it in html so he can copy and paste the html into his page. sounds silly i know, but he is learning php and it is also a labour saving device. im having a little trouble. the form contains t

Re: [php-list] pre-determined time/date in script

2006-04-07 Thread Mark Mckee
> > switch (date('m-d')){ > case "12-25": //Christmas > $image = ""; > break; > case "01-01": //New years > $image = ""; > break; > ... > default: > $image = ""; > break; > } > > And so on. Then, just wherever > the logo goes into the page. > > HTH, > -Nick > >

Re: [php-list] pre-determined time/date in script

2006-04-05 Thread Mark Mckee
> HTH, > -Nick thank you Nick. i had a feeling it would be a switch statement, but was unsure how. Thanks again Mark.. -- Mark... http://www.soddengecko.com Community email addresses: Post message: php-list@yahoogroups.com Subscribe:[EMAIL PROTECTED] Unsubscribe: [EMAIL PROTE

[php-list] pre-determined time/date in script

2006-04-05 Thread Mark Mckee
hi all I have had a search through google and the usual php sites and forums over the last few days. I am looking for info to make a script that will display a different logo on a pre-determined date and time, ie. christmas, easter and new year etc. so far all i have managed to find is that it is

Re: [php-list] Re: need help with mysql and php

2006-03-25 Thread Mark Mckee
hi all I have a slight trouble when trying to display text fromt he database with php. I want to be able to display pre-formatted html for displaying code etc. The trouble I am having is that it also displays the tag from the nl2br string. I have searched google and the forums, also I have t

Re: [php-list] Re: need help with mysql and php

2006-03-22 Thread Mark Mckee
> > As for your forty tables that can possibly be selected, might I > suggest a switch statement? > > > how wouldl i go about creating a switch statement? i have looked at a few tutorials but am finding it difficult to convert the script for my uses. Community email addresses: Post messa

Re: [php-list] need help with mysql and php

2006-03-21 Thread Mark Mckee
amed after the a section of the site. (probably not the best layout, but i am learning) i have the input page all figured out, and now im working on the edit and update pages. thanks. mark m... Michael Sullivan wrote: > On Tue, 2006-03-21 at 04:45 +, Mark Mckee wrote: > >

Re: [php-list] need help with mysql and php [FIXED]

2006-03-20 Thread Mark Mckee
i managed to complete it and it all works brilliantly. thank you for putting me in the right direction Mark Mckee wrote: > hi all > > I am definately stuck now. i have managed to insert data into my table > using php and sql staements. > > I have also managed to display tha

Re: [php-list] need help with mysql and php

2006-03-20 Thread Mark Mckee
kind regards Mark... Mark Mckee wrote: > thank you for the help. > > i wil keep trying to get it working. > > Michael Sullivan wrote: > >>On Tue, 2006-03-21 at 00:52 +, Mark Mckee wrote: >> >> >>>hi all >>> >>>i want to create

Re: [php-list] need help with mysql and php

2006-03-20 Thread Mark Mckee
thank you for the help. i wil keep trying to get it working. Michael Sullivan wrote: > On Tue, 2006-03-21 at 00:52 +0000, Mark Mckee wrote: > >>hi all >> >>i want to create an inut page for the content on my website. is it >>possible to have 1 data entry box and

[php-list] need help with mysql and php

2006-03-20 Thread Mark Mckee
hi all i want to create an inut page for the content on my website. is it possible to have 1 data entry box and choose the specific what table of a database to put it usign a drop down box? if so, can someone please point me in the right direction. i have been troubling over this for the last

Re: [php-list] opening an external link [SOLVED]

2006-03-15 Thread Mark Mckee
Thank you James your info has helped me solve the problem. i have been sat infront of this monitor for far too long lol. thanks again Mark... >>>--- Mark Mckee <[EMAIL PROTECTED]> wrote: >>> >>> >>>>can anyone here help me with this little

Re: [php-list] opening an external link

2006-03-15 Thread Mark Mckee
thanks for the quick reply. i should have said, i tried that method and recieved an unexpected T-String error, am i coding it wrong? i worte it in like this target="'blank'" >--- Mark Mckee <[EMAIL PROTECTED]> wrote: > > > >>can anyone here help m

[php-list] opening an external link

2006-03-15 Thread Mark Mckee
hi all can anyone here help me with this little problem i cannot solve. i want to open a link in an external window. the link is generated from inputted information and called together to make the . how would i get the following code to open the link in a new window rather than itself? else $

Re: [php-list] php style switcher

2006-01-02 Thread Mark Mckee
Ian thanks for your info. you put me n the right track. it was the register_globals issue. all sorted now. you can see it in action here http://www.soddengecko.com/test/ links at the top right Mark... http://www.soddengecko.com Mark Mckee wrote: >thanks for explaining it. i think i get

Re: [php-list] php style switcher

2006-01-01 Thread Mark Mckee
#x27;set'} >(sorry, should have mentioned that, but it's 3am here) > >also, once you get the cookie set properly, you have to do the same thing >with the cookie data i.e. $_COOKIE['sitestyle'] > >Must be capitalised. > >I'm not saying that is your prob

Re: [php-list] php style switcher

2006-01-01 Thread Mark Mckee
any chnace you could elaborate a little more on that please? Mark... http://www.soddengecko.com Ian Bambury wrote: >(!$_COOKIE['sitestyle'])... > >? > > >[Non-text portions of this message have been removed] > > > >Community email addresses: > Post message: php-list@yahoogroups.com > Subscri

[php-list] php style switcher

2006-01-01 Thread Mark Mckee
hi all is there anyone here who can tell me why my style switcher is not working? the page is at http://www.soddengecko.com/test/ and the link is in the top right, it says "green!" the code for the switcher.php is and the code i have on my main page is with the link of green! what am i d

[php-list] The Holidays

2005-12-24 Thread Mark Mckee
Merry Christmas to all -- Mark... http://www.soddengecko.com Yahoo! Groups Sponsor ~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/HKFolB/TM --

Re: [php-list] Re: blogs

2005-12-07 Thread Mark Mckee
thanks for the info all, that simplephpblog does look good. perhaps i should clarify a little more. i want to code it myself so i can learn, plus i think all i need is a page that i can add the data with and an administration page, and the code to call the info from the database. i already ha