Search Results

Showing results 1 to 40 of 248
Search took 0.02 seconds.
Search: Posts Made By: Josh Connerty ; Forum: PHP and child forums
Forum: PHP Sep 5th, 2009
Replies: 11
Views: 439
Posted By Josh Connerty
When I run an IP check on a local machine using the remote_addr method I get an internal IP, as this is an intranet I would presume it would do the same.
Forum: PHP Sep 5th, 2009
Replies: 11
Views: 439
Posted By Josh Connerty
The first thing you must figure out is what IP the intranet is going to read, whether it be internal or external IP.

Once you have found this out then it will be easier to use the IP to refer. If...
Forum: PHP Sep 5th, 2009
Replies: 17
Views: 472
Posted By Josh Connerty
I would suggest looking over w3schools tutorials. The reason being that if you use a work computer or a friends computer you are going to find it very complex. It is okay to use an editor likes this...
Forum: PHP Sep 5th, 2009
Replies: 4
Views: 670
Posted By Josh Connerty
Yes it seems that the new Xampp is taking tomcat as part of it as to an add-on which I can only figure is causing the issues.
Forum: PHP Sep 5th, 2009
Replies: 3
Views: 529
Posted By Josh Connerty
If that is the case then you need a bog standard upload script, accept from in the success block of code you will need to run some queries that will store the name of the file in the database along...
Forum: PHP Aug 27th, 2009
Replies: 8
Views: 337
Posted By Josh Connerty
When a user registers you must provide a link to the verification page with two get variables U & AID (activation ID), you must also store these details in the table.

When it verifies a user then...
Forum: PHP Aug 24th, 2009
Replies: 3
Views: 645
Posted By Josh Connerty
Okay here is a little tutorial on the workings of what you are trying to do:

1. Add an onChange event to the pervious select field, this is so that when the user changes this it will trigger the...
Forum: PHP Aug 24th, 2009
Replies: 5
Views: 235
Posted By Josh Connerty
Okay, I may be mistaken in how this is all set up...

Please explain in detail your whole setup. I know Godaddy hosts your MySql server but who hosts the actually machine?
Forum: PHP Aug 24th, 2009
Replies: 5
Views: 235
Posted By Josh Connerty
Okay because we have a wide range of possibilaties we need to narrow it down. First I would suggest that, the next time it happens to unplug your router or modem for around 10 seconds then plug it...
Forum: PHP Aug 23rd, 2009
Replies: 5
Views: 414
Posted By Josh Connerty
Simon and you are both right, I agree the manual is the best place to find your answer and saves us allot of, well, typing. Nevertheless this is supposed to be a friendly community. Just some...
Forum: PHP Aug 23rd, 2009
Replies: 4
Views: 501
Posted By Josh Connerty
It's bizare wordpress would just turn around with this error. Have you changed anything at all in the code?
Forum: PHP Aug 23rd, 2009
Replies: 8
Views: 323
Posted By Josh Connerty
Yes Xan is right, there is deffinetly object oriented coding in their. $this does seem to be a class of some sort.

Does $this really need to be changed? Else you are looking to rename the class....
Forum: PHP Aug 23rd, 2009
Replies: 1
Views: 215
Posted By Josh Connerty
The issue with the IP is that every time your router or modem connects to the internet it will get a new IP as most ISP use dynamic IPs.

I would suggest combining these methods, for instance store...
Forum: PHP Aug 22nd, 2009
Replies: 8
Views: 323
Posted By Josh Connerty
Then no $this should not change the script, the issue you are probably having is that the varibale is being called later on in the script. You may need to "Find" $this using your text editor and...
Forum: PHP Aug 22nd, 2009
Replies: 14
Views: 621
Posted By Josh Connerty
Forum: PHP Aug 20th, 2009
Replies: 14
Views: 621
Posted By Josh Connerty
Okay, I will let you down gently, I think it's a bit farfetched to explain this through a forum. It is virtually imposible for me to tell you how to do this.

The two tables are vastly different.
...
Forum: PHP Aug 20th, 2009
Replies: 1
Views: 203
Posted By Josh Connerty
The issue you have is that you are using the IMG HTML tag, this requires you to have the image saved in order for the IMG tag to retreive the image and display it.

The knowledge I have of PHP's...
Forum: PHP Aug 20th, 2009
Replies: 14
Views: 621
Posted By Josh Connerty
Yes thats right, either attach them to a post or open them up and copy and paste the contents into [code=sql] tags. ;)
Forum: PHP Aug 20th, 2009
Replies: 7
Views: 678
Posted By Josh Connerty
Basicly, just use your orignal document. Make a submit button that will go to another document.

In this document you will need to handle the posted data. You will need to make queries dependant on...
Forum: PHP Aug 20th, 2009
Replies: 14
Views: 621
Posted By Josh Connerty
Right first of all you need to export the tables from wich you think the members are held.

You need to do this for both, after doing so you can post them in [code=sql] tags.
Forum: PHP Aug 20th, 2009
Replies: 3
Views: 276
Posted By Josh Connerty
I would suggest also making a dedicated table for the user preferences. However I would suggest making a column for each preference. Eg. user_id, gardening, pet, food.

As for the pets, gardening...
Forum: PHP Aug 20th, 2009
Replies: 14
Views: 621
Posted By Josh Connerty
Okay well I first need to ask how dedicated you are to this?

This is a complex proccess!

Basicly to start with you will need to compare the two database systems. In order for them to work...
Forum: PHP Aug 2nd, 2009
Replies: 4
Views: 998
Posted By Josh Connerty
You would have to use JavaScript I beleive I don't think the textarea allows the maxlength attribute.
Forum: PHP Aug 2nd, 2009
Replies: 7
Views: 361
Posted By Josh Connerty
Can you copy and paste the contents of the file into a code wrapper as follows:
[code=sql]
Forum: PHP Aug 2nd, 2009
Replies: 7
Views: 361
Posted By Josh Connerty
You need to import the database first, in order to do this you must use the PHPmyadmin import system or the SQL system, personally I prefer the import system.

In order to do this you must open the...
Forum: PHP Jul 17th, 2009
Replies: 5
Views: 245
Posted By Josh Connerty
I have to say, if you have cpanel then look for it on your cPanel, most of the Linux cPanel providers will provide this service.
Forum: PHP Jul 17th, 2009
Replies: 4
Views: 340
Posted By Josh Connerty
Make a new file called php.ini in the directory where this script runs from and inside it put:

allow_url_fopen = "1"

;)
Forum: PHP Jul 16th, 2009
Replies: 5
Views: 492
Posted By Josh Connerty
Well, I think they would probably use different engines for the specific job needed. But I will say now, they most likely use a WHOLE server just for a MySql server and nothing else. If you are...
Forum: PHP Jul 16th, 2009
Replies: 5
Views: 245
Posted By Josh Connerty
Nope CRON was designed for running scripts (non-web related) on Linux based systems. This was then adapted to run web scripts every specified hour or hours.

So no there isn't really any...
Forum: PHP Jul 16th, 2009
Replies: 12
Views: 646
Posted By Josh Connerty
My turn to embarris people :P, PHP Sessions still use cookies so if cookies aren't enabled then sessions will not work.

Can't remember where I read it but supposivly so.

In wich case you would...
Forum: PHP Jul 16th, 2009
Replies: 5
Views: 450
Posted By Josh Connerty
Okay in that case, please add the following at the end of your update query.


$query = mysql_query("QUERY") or die( "UPDATE ERROR:" . mysql_error() );
// QUERY being the update query you have...
Forum: PHP Jul 16th, 2009
Replies: 21
Views: 1,281
Posted By Josh Connerty
Another point, with MySql the advice given is you use as many tables as possible as to releive the stress on any one particular table.
Forum: PHP Jul 16th, 2009
Replies: 21
Views: 1,281
Posted By Josh Connerty
No youre right in what you are saying, however I think what he is wanting is something that will perform these things without page refresh.

Okay, please export your database using phpmyadmin and...
Forum: PHP Jul 13th, 2009
Replies: 6
Views: 508
Posted By Josh Connerty
Also this topic may help you:
http://www.daniweb.com/forums/thread184291.html
Forum: PHP Jul 13th, 2009
Replies: 6
Views: 508
Posted By Josh Connerty
Okay so what is it that you have changed exactly?
Forum: PHP Jul 13th, 2009
Replies: 6
Views: 508
Posted By Josh Connerty
So we have a better idea can you post the whole document and leave the lines 123 - 125 in bold. This will give us a better idea of what the document is actually doing.
Forum: PHP Jul 13th, 2009
Replies: 6
Views: 451
Posted By Josh Connerty
It seems he has fixed it. Basicly what kireol said is probably the best way to pass varibles to another page.

The only shin dig I have is that the $_REQUEST method is not advised. Use the $_GET...
Forum: PHP Jul 10th, 2009
Replies: 5
Views: 450
Posted By Josh Connerty
What do you mean as in if you haven't submitted the form you still get the row updated message?
Forum: PHP Jul 10th, 2009
Replies: 7
Views: 871
Posted By Josh Connerty
This might sound daft but why not loop it until you have sent the mail to everyone?

This might cause a strain on the server CPU though.
Forum: PHP Jul 10th, 2009
Replies: 19
Views: 539
Posted By Josh Connerty
Glad you got it to work ;)
Showing results 1 to 40 of 248

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC