ober
-
Posts
5,327 -
Joined
-
Last visited
Posts posted by ober
-
-
echo the path before checking to see if it exists to ensure that it is being passed the path you think it should be. I think you may need to add a / to the path before the filename, but it should throw an error, not tell you the file exists.
-
file_put_contents would probably be your best bet then.
-
Remove all white space. You probably have a tab character at least in there according to the spacing. Depending on your editor, that could be your problem.
Also, one of the error messages points to your ability to save session data. Have sessions ever worked for you on that server?
-
I would say it's going to fail about 50% of the time because people will block you via their servers.
Otherwise, you can start reading here:
-
Please post the exact code and make sure you are not including this file inside another file that already sends information to the client.
-
That's a very vague question. Are you creating the file? Is the file being uploaded? Is the file being passed to the server via a different process?
Please be more specific.
-
By the way, it is $_SERVER['DOCUMENT_ROOT']
-
You are passing it a relative path. You need to provide an absolute path to the fopen command.
-
My guess is that whatever user is setup on the server to run PHP is not necessarily permissioned (is that a word) correctly to run the perl script. That is typically the case when it works from the command line but not from PHP. And if it isn't a user issue, it's a permission issue within PHP.
I actually had this same problem at my previous job and I can't for the life of me figure out what I did to solve it. I think I had to modify php.ini to allow it.
-
Why are you involving Perl in the first place? Why not go directly to the DB with PHP? Surely you can use an available library to talk to Sybase.
Also, if the info isn't going into the text file from the perl script, that seems like a problem with the perl, not the PHP. Do you administer the server? What version of Perl are you running? Is the server setup to allow you to run exec or other system commands?
Can you post the PHP code?
-
Yeah. Except I'll have different messages. So I couldn't select all rows. Or maybe I could select all where the thread_id was the same and then order by timestamp. I think I'll try that. Thanks.
Bingo. Relate by ID and sort by time.
-
Wow... I actually have to agree with TFG here. Insane.
But yeah, with a credit score of only 636 and not actually owning anything, you don't have a solid backing for loans. They have really cracked down recently. Hell, I have a house, 2 cars, a credit score above 770 and I would be surprised if they let me refinance my house right now (mainly due to the fact that because the housing market SUCKS, I know owe more on my house than it is worth... but that is besides the point).
Sometimes you have to go into debt to build credit and make the banks trust you. Buy a house, a car... something that you can "own" even if you will be paying on it for years. You have to build equity in something.
-
We've had multiple competitions here in the past. It's currently tabled because of lack of interest and judges. We may start up another one in the future but a re-usable login system seems like a complete waste of good coding time. Any hack and their brother can probably mock up a half decent login system.
-
Good luck and take care. I do hope you'll stop in from time to time just to check us out.
-
You could always build content around the generator. Surely you can come up with additional information to share with your visitors?
-
No degree? Take 20K off whatever you think it is worth. No programming job experience? Take off another 5-10K.
Seriously. I'm all about "making it on your own", but I'll be damned if some nerd with a few programming books and a few years of "self-teaching" is going to waltz in where I'm working and make what the rest of the schooled developers are making.
Formal training does more than teach you programming basics. It teaches you theory and structure.
-
Yeah... Mchl just responds to every thread where appropriate.
-
The iPhone just uses a zoomed view... it does not use the WAP version. (I have one... and I surf the board regularly with it).
-
Edited.
-
The day we start charging for answers is the day I run away screaming.
-
It's a feature of SMF. I think most forum software does this now.
-
This is an issue for SMF. We won't be fixing it.
-
The only thing you can get from the file is creation and modification times, not method of access.
-
Use MYSQL. When the user clicks the column name, add a parameter to the URL and check for that parameter when you create the SQL query. That's the best and most efficient way to do it.
[SOLVED] Error Message Help
in PHP Coding Help
Posted
?? What?