167 Posted Topics
Re: 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" [icode]$this[/icode] using your text editor and change it to $result. Please post your current document in [code=php] tags. | |
Re: It's bizare wordpress would just turn around with this error. Have you changed anything at all in the code? | |
Re: Okay, so try boot in safe mode and make another account and see if that boots? It seems that there is an issue with the drivers for the hardware you have installed, my advice would be is to remove the less important hardware peice by peice. | |
Re: 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 the value passed. For instance if it is UK then you need to select the … | |
Re: You may need to reset the bios, as far as I know this should be fine on a dell. This should change the settings back to default and should recognise the hard drive as it did from factory. If this fails you may need to persuade a friend to lend … | |
Re: 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 constructive criticism, don't take it personally. @DealthRune, the manual, as Kkeith29 stated, has the … | |
Re: 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 their IP for a max of 48 hours as the chances are … | |
Re: 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 image functions is that they will generate images and save … | |
Re: > I do have the `$_POST['term']` in the file so I am assuming that I have a syntax error somewhere. > > I started the project this way because I thought this would be the elementary way to begin learning and do have plans to improve it to a relational … | |
Hey guys, I am in the proccess of setting up my server. It is running Windows Server 2003 R, with IIS 6.0 (I think). Now the issue came when installing PHP. First off I got a IIS timeout error whilst running a PHP script containing [b]no[/b] php :@. I managed … | |
Re: Try downloading malware bytes, this is basicly a virus detection and deletion program as apose to an anti virus. Can you give some more details on your system and anti-virus etc? | |
Re: You would have to use JavaScript I beleive I don't think the textarea allows the maxlength attribute. | |
Re: 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 planing on making a database heavy application then you really must have the … | |
Re: Make a new file called php.ini in the directory where this script runs from and inside it put: [code] allow_url_fopen = "1" [/code] ;) | |
Re: 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 alternative unless you manually run the script at 10am everyday. | |
Re: As RJCO said the motherboard should not touch the case try removing the motherbard from the case and running it without the case. It sounds like maybe ou need some thermal solution or maybe it's a faulty CPU and you need to replace it. The thing is these things are … | |
| |
Re: What do you mean as in if you haven't submitted the form you still get the row updated message? | |
Re: 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. | |
Re: It sounds more like a dodgey stick of RAM, I know AMD motherboards can have the funnies but it is unlikely. I have had an eMachines Intel Celeron M system and that had a 512MB RAM that I upgraded to 1.2GB RAM with mis matching frequencies and the newer higher … | |
Re: Wich version of Vista and Ubuntu did you install x86 or x64? (32 bit or 64 bit) If they were 32bit versions then you are likely to come across issues like this as the 32bit architecture can not utilise the full 4GB it is advised to use a 64 bit … | |
Re: Just to add to this, you may find it was your DIMM port had dust in it this usually causes thisd issue so yes the dusting will have fixed that, but be carefull when dusting, you need to ground you and your computer and leave the power cable in but … | |
Re: 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 [icode]$_REQUEST[/icode] method is not advised. Use the [icode]$_GET[/icode] instead. And again he is right when it comes to the mod … | |
Re: 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. | |
Re: Try this as yours is riddled with errors: [code=php] <?php if ( isset( $_POST['send'] ) ) { // The author's details have been updated. $title = $_POST['Title']; $subtitle = $_POST['Subtitle']; $content = $_POST['Content']; $author = $_POST['Author']; $date = $_POST['Date']; $id = $_POST['id']; $sql = "UPDATE `indexinfo` SET `Title` = '$title', … | |
Re: I'm not sure have you searched for a program? I know Windows uses the NTFS file format and I have forgotten the UNIX format you may need to google it. | |
Re: First make sure you have set up a username and password as it is not advisory that you use the root username and password. Then you need to connect to the database like this: [code=php] <?php $con = mysql_connect( "localhost" , "USERNAME" , "PASSWORD" ); mysql_select_db( "DATABASE" , $con ); … | |
Re: When you are saving the new content posted via the web form what exactly is it doing. I know you are editing a page but how. Are you adding the POSTed data to a document or a MySql database? Either way you would just pull the document they editied last … | |
![]() | Re: I was trying to take a look but something went wrong on either my end or the hosts. What exactly is this intended for? |
Re: So it is infact your HTML document and not the PHP? To test if your PHP document is taking a very long time try taking down a time stamp at the start and the end of your PHP document. Then at the end minus the start from the last. IF … | |
Re: No not other than uploading it and giving it a whirl and try to fix any errors PHP stated. I noticed your mail() function looks rather odd. What is the error you are currently getting? | |
Re: Have you had any experience with PHP files? What you do is first OPEN the file. This allows PHP to read the contents and attributes it contains. This is what you must do with your image. You need to use the functions stated above by cwarn23 depending on the file … | |
Re: From what I can think of, you will need to block the access of the base ip. For instance mine is 192.168.2.1 now if I were to type this into the address bar of my browser whilst connected to it I would receive a log in screen (not sure about … | |
Re: I suppose you could yes, you would need to play a little with the configuration. When I say a little I mean you would have to literally rewrite allot of how wordpress work. Also I have had my shared hosting accout hacked via a loop hole in WordPress, so I … | |
Re: Can you post the form it is most likley the way you have structured the form. ![]() | |
Re: We aren't here to programm for you, we are here to help you program. Do you have any knowledge of PHP? | |
Hey guys, I have a new server :P I am currently configuring it and I ahve come across an issue. The issue being that PHP 5 does not support MySql from standard. I have managed to resolve an issue with the installation of PHP on IIS BUT I am strugling … | |
Re: The issue is that the include is include the file [icode].php[/icode]. What is the line that you called the main/include function? | |
Re: I'm not overly sure, try the regional settings in the control panel, might turn something up. | |
Re: You really need to make a HTML structure and then give them an input box to change the value of the CSS [icode]color: <this>;[/icode]. Got to [url]http://bebo.com/[/url] and try creating a skin and that will give you a little idea on what might be safe. (You might have to sign … | |
Re: Is [icode]203.142.18.33[/icode] your IP? If so then you need to use the localhost IP (127.0.0.1). Else I would look into fsockopen. | |
Re: Why not just have one, I am running IIS6 on my Windows Server 2003 and I wouldn't really need an apache server. They both do the same thing but if you are running a windows server edition then you have no need for apache as you can install IIS and … | |
Re: I don't agree. As long as you use correct cyntax (ie. `desc`) and as long as you know what `desc` means it isn't a problem. I use desc myself. | |
Hey guys, I used to keep getting a screen of death error in XP and I got a new PSU (advice of novatech) and it seemed to have done the trick. However I was installing SP2 for Vista and on the restart to do Step 3 I got a blue … | |
Re: Go to [icode]Control Panel -> Administrative Tools -> Event Viewer[/icode] and then find an error (should be marked by ! in a red circle). Look for one that reports that windows shut down to prevent further damage. If you like you can also type in the start menu search [icode]solutions[/icode] … | |
Re: You need to look into the jQuery.ajax function, this will send/receive information from a PHP document. What you need to do is set up a PHP document that will handle the the form as though it were being posted to by http, or by setting the action on the [icode]<form>[/icode] … | |
Re: Have you tried using a print_r( $webResults ); statement to make sure that this variable has the values you are hoping for? | |
Re: Is this on the local server or a remote host? If this is on a webserver then your host should set this up for you. Else if it is on local host it is not worth setting up. Just suppress it with and @ infront of the mail function. When … |
The End.