Forum: MySQL 23 Days Ago |
| Replies: 1 Views: 465 Hi everyone,
I sat down to create a what I thought was simple SQL query but once I got thinking about it I realised I'm not sure where to start.
The objective is to return two resorts from a... |
Forum: JavaScript / DHTML / AJAX 29 Days Ago |
| Replies: 0 Views: 519 Hey everyone,
The problem I'm having is regarding trying to persist a users search selection.
For example a user searches (for holidays) on the homepage. I would like the search box which is... |
Forum: Linux Servers and Apache Sep 23rd, 2009 |
| Replies: 7 Views: 1,205 Hey sknake,
I've had a look at the error logs through cPanel and can't see anything about apache, it's all just missing files that I haven't fixed yet such as graphics references from CSS files. ... |
Forum: Linux Servers and Apache Sep 23rd, 2009 |
| Replies: 7 Views: 1,205 Thought I'd include the server details that are appended to the bottom of the 500 internal error page
Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1... |
Forum: Linux Servers and Apache Sep 23rd, 2009 |
| Replies: 7 Views: 1,205 Hey khess,
Thanks for reply. I don't have a .kdb file anywhere that I see. When researching this I keep seeing it in relation to a IBM server. Since I'm running on centOS and am using cPanel do I... |
Forum: Linux Servers and Apache Sep 22nd, 2009 |
| Replies: 7 Views: 1,205 Hi everyone,
I am not a server guru but have had to setup a dedicated server for a new website. Everything is going except that when I try to connect to it via HTTPS connection I get a 500... |
Forum: PHP Aug 26th, 2009 |
| Replies: 7 Views: 297 OK I have to admit to being stupid on this one.
@leviathan185 while I was reading your comment it occurred to me that I was trying string replace while messing around with htmlentities as well. I... |
Forum: PHP Aug 26th, 2009 |
| Replies: 7 Views: 297 Hi pritaeas,
No I'm not using any lists. Basically I am wrapping content coming in from a CURL request in <p> tags and the • symbol is in the content.
I can't find a way to strip it with... |
Forum: PHP Aug 26th, 2009 |
| Replies: 7 Views: 297 Hi everyone,
I have tried finding out how to do this everywhere but I am coming up completely blank.
I have content coming into my site that I have no control over and it has this symbol •... |
Forum: PHP Jul 15th, 2009 |
| Replies: 4 Views: 491 Thanks Menster,
I have seen the asXML floating about on a few tutorials but none of them really when into it. I'll look it up and try and work something.
I'm really surprised actually that it... |
Forum: PHP Jul 15th, 2009 |
| Replies: 4 Views: 491 Hey Menster,
I have looked at the $toPost variable using print_r() but the thing is I don't need just some of the information from the XML I need all of it including the element tags as well.
... |
Forum: PHP Jul 14th, 2009 |
| Replies: 4 Views: 491 Hi everyone,
The goal is to be able to extract a specific element (and all children of it) from a XML string and then to echo this to the page inside a hidden form element so that it can be posted... |
Forum: PHP May 31st, 2009 |
| Replies: 3 Views: 292 menew,
To me javascript and PHP just 'feel' quite different. They deal with different models as well. PHP is for Server side while Javascript deals with manipulating and navigating the DOM which... |
Forum: PHP Apr 27th, 2009 |
| Replies: 1 Views: 439 Hey,
If you do a search for sql list of country names you will get a few downloads that you can import and then just loop through the table and echo em out.
Also you could create a javascript... |
Forum: PHP Mar 6th, 2009 |
| Replies: 3 Views: 303 I would say php.net IS indeed full of awesomeness but I find it works best for when you need help on a specific problem.
For generally learning PHP I would suggest just picking up a few tuts on... |
Forum: PHP Mar 6th, 2009 |
| Replies: 10 Views: 960 I've never stored images as BLOB in a DB as every article I've ever read says to not do. I find it much easier (once you learn it) just storing the path in the database and storing the actual files... |
Forum: PHP Mar 5th, 2009 |
| Replies: 10 Views: 960 hi,
are you storing the images in the database or just the path to the images?
Also I always set the query to die if it fails and output the mysql error when it does IE
$result =... |
Forum: PHP Feb 28th, 2009 |
| Replies: 9 Views: 591 Hi,
Don't think you need the second WHERE, just the AND.
Test it out. |
Forum: JavaScript / DHTML / AJAX Jan 8th, 2009 |
| Replies: 1 Views: 1,531 OK this is weird now. On my first attempt I get an error 500 (unknown reason for failure) but the alert after this is able to output the copyright notice and other details OK.
Then on the second... |
Forum: JavaScript / DHTML / AJAX Jan 8th, 2009 |
| Replies: 1 Views: 1,531 Hi all,
I have integrated google maps API into a site as a store finder. However I'm at the stage of trying to plot thte driving directions between a store and a user input address. The stage I... |
Forum: PHP Dec 24th, 2008 |
| Replies: 2 Views: 340 Hey Amy,
I have recently been looking around for a Dreamweaver replacement as it isn't advancing quick enough as an IDE as I would like.
I think I have settled on Netbeans 6.5. You can check... |
Forum: XML, XSLT and XPATH Nov 28th, 2008 |
| Replies: 0 Views: 507 Hi,
I have been trying to get resorts from an XML tree but I have found that it seems to be very flat and not helpful at all in terms of targeting information.
Attribute names are all the same... |
Forum: PHP Nov 26th, 2008 |
| Replies: 1 Views: 834 Hey Nzaman,
Everything I say has to be qualified with a 'it depends on your exact needs' statement.
One of the best things about PHP is that it is free and open source (no I'm not an open... |
Forum: PHP Nov 24th, 2008 |
| Replies: 1 Views: 351 Ok so I don't know why but it seems the code below has fixed it.
if ( isset($_SERVER['HTTP_REFERER']) ){
$referer = basename($_SERVER['HTTP_REFERER']);
}
else{
$referer =... |
Forum: PHP Nov 24th, 2008 |
| Replies: 1 Views: 351 Hi there,
So I thought this would be simple and it should be but I can't see what is wrong. Basically I am checking what language has been selected (via a code stored in a constant LANG_CODE) and... |
Forum: PHP Nov 21st, 2008 |
| Replies: 10 Views: 1,519 So for anyone who has come across this in the future I wanted to say that i found out the problem and let everyone know.
First off thanks for all the help by the guys that posted.
So the... |
Forum: PHP Nov 21st, 2008 |
| Replies: 10 Views: 1,519 As much as I can tell it is. The file is being written when output buffering is not on. So I would assume that that means that the directory is OK.
I'm developing locally on a Mac (the folder... |
Forum: PHP Nov 21st, 2008 |
| Replies: 10 Views: 1,519 Hey kkeith29,
Big thanks for code rewrite but unfortunately it isn't writing the file at all and there are no errors being output.
When run it just shows a blank page, then when I check my... |
Forum: PHP Nov 21st, 2008 |
| Replies: 10 Views: 1,519 Hi Rhyan and kkeith29.
Thanks for the replies. kkeith yes I am overwriting $to_write just as a temporary troubleshooting aid.
Rhyan I tried changing the code to this (The old code is commented... |
Forum: PHP Nov 20th, 2008 |
| Replies: 10 Views: 1,519 Hi,
Thanks for checking this out.
The error is that when I use ob_start to store the results of an include file my fwrite statement later on in the code works but only writes a blank file,... |
Forum: XML, XSLT and XPATH Nov 13th, 2008 |
| Replies: 0 Views: 709 Hi there,
I am wondering if anyone here could tell me where I am going wrong with my XPath query. What I am using is below and is supposed to return me the URL attribute of the last Image element... |
Forum: JavaScript / DHTML / AJAX Nov 13th, 2008 |
| Replies: 2 Views: 1,464 Hi SOS,
Thanks for the tips. I'll give them a shot. |
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008 |
| Replies: 2 Views: 1,464 Hi everyone,
Many thanks for looking. Here's the problem.
I have a form with three option buttons. Depending on what one the user clicks on I need a particular div to be shown, while the other... |
Forum: PHP Oct 30th, 2008 |
| Replies: 4 Views: 441 Hi arshadshaikh,
I'm no expert but I can tell you how I just created a similar site not long ago and leave it to smarter people to either confirm what I did or point out it flaws.
Basically the... |
Forum: PHP Oct 28th, 2008 |
| Replies: 10 Views: 1,388 Hi jk,
Like Humbug said it requires code on the persons local machine to do it.
There seems to be plenty of stuff out there to either use or experiment with.
Try this. Seems to do what you... |
Forum: PHP Oct 14th, 2008 |
| Replies: 3 Views: 2,596 Hi, in case anyone comes across this in the future I have included the working version of my code below. Just as a summary; I am POSTing an xml string to a URL and storing the response, also an xml... |
Forum: PHP Oct 13th, 2008 |
| Replies: 3 Views: 2,596 Hi Shanti Chepuru,
Thanks for the link. I hadn't come across that specific page yet. Unfortunately the code is not working. When I echo the variable that should hold the response XML all I get is... |
Forum: PHP Oct 12th, 2008 |
| Replies: 3 Views: 2,596 Hi,
Can anyone please tell me how to do a REST request to a URL using method POST and NOT GET.
I know I have to pass XML to the URL but I really don't know where to start actually sending the... |
Forum: XML, XSLT and XPATH Oct 9th, 2008 |
| Replies: 1 Views: 911 Hi,
I was wondering if anyone out there could provide a few pointers to me on how to get started using a XML web service. It's a holiday feed so includes things like flights, bed banks etc
But... |
Forum: MySQL Oct 2nd, 2008 |
| Replies: 1 Views: 548 Hi, I'm not sure if this is the right place for the question but it is related to databases, i think.
I have been developing a site on a win server 2003 box using MySQL 5 and PHP 5.
While I... |