got a weird issue. I have a cron that runs and rapidly inserts multiple records in the db, and also have a web app that may insert at the same time. Neither query specifies the primary key field in the sql; both leaving it up to the auto_increment value. 99% of the time it works fine, but...
This question overlaps many forums, but I figured this would be the best due to the necessary knowledge of basic auth and server authentication.
I have a server directory (say ... protected_env) that uses basic authentication and removing that is not an option, so I have to work with it. I...
I need to do use the evaluate function in teh DOMXpath, but the attribute I am trying to access has a colon in it, and I cant figure out how to get it. I can access all the attributes with just letters, but it doens tfind this one:
$xpath = new DOMXPath($doc);
$entries =...
Whenever I decrypt a file, everything works fine (i.e. the file is decrypted and the decrypted message is sent to STDOUT or a file depending on how I execute the command).
The problem is that the following message gets printed out:
gpg: encrypted with 2048-bit ELG-E key, ID 12345678, created...
hello,
I am using the native ftp functions from php and since the normal ftp_* doesn't give any feedback or responses, I am using the ftp_raw function to do all my commands.
For some reason after I upload or do an nlist, I only get the first line of response back from the control channel:
150...
I am using the native php ftp functions and noticed there doesn't seem to be a way to get the actual response back from the server I am connecting to (or trying to). Most or all of the functions simply return a boolean value.
It would be nice to know what the actual response from the server is...
I am having trouble with a script timing out at about 60 seconds every time.
The script does a few curl operations that access various API's and screen-grabs and it is in the middle of those curl operations at the moment it times out.
I have a progress checking mechanism that allows me check...
Is it possible through filemaker, via plugin or otherwise, to get the source code of a web site? For those that know PHP, I am looking for the equivalent of the curl function in PHP. Is there such a thing that would get a screen grab of a particular web site? Not an image screen capture, but...
I am having trouble getting the PEAR DB or MDB2 classes to connect to my db, while the native mysql db functions connect fine.
The following connection method works fine ...
$hostname='myhost.com';
$username='user;
$password='foo';
$dbname='bar';
$usertable='foobar';
$yourfield = 'id'...
Hi All,
This is my first post in a long time. Prior to this, I have done my due diligence and research earlier posts regarding this same topic as other frustrated developers have been in this situation.
I recently started up a brand spanking new mac mini (w/o rosetta) and installed fmp 8. I...
Dont know if this is the right forum, but I couldnt find a 'regexp' forum and I figure most Perl programmers are good with regexp's.
I have this text for example:
Lorem ipsum dolor sit amet<div align="justify">Lorem ipsum dolor sit amet, consectetuer adipiscing elit<P>Lorem ipsum dolor sit...
This is one of those "gray area" php/mysql questions ...
I wrote a php class that is basically a mysql wrapper. It detects for the availability of the mysql server and for connection timeouts. If the connection fails, it will write the query (unless it was a select) to a log file to be run at...
What is the difference between HTTP_HOST and HTTP_X_HOST? Googling for HTTP_X_HOST brings up only three pages of results - half of which is of another language - and php.net provides nothing that I can find. Nor can I find HTTP_X_HOST anywhere in this forum's past posts.
Does anyone have an...
I am forced to use fsockopen as opposed to fopen in my script. This seems like an easy operation, but I cant figure out how to do it.
I can connect fine to the server by using the domain name. But I can't figure out how to access a page further down the path.
For example...
Is there a way to send htaccess login info to an htaccess protected page, thus bypassing the popup dialog box? Like through the authentication header, or something?
I'm not trying to hack, I just want to automatically login through a hard coded username and password.
I am going to use a cron...
I am attempting to create an excel file through php and dynamically open it in excel. But I want to download and prompt the user to either open it or save it. The prompt appears and it saves to the desktop if the user selects that option.
But the problem lies in the 'Open' option. When the...
Does anyone know of any tools (preferrably free, but not necessary) that can reverse engineer a mysql database and generate an er diagram.
In other words, I would like a tool, kinda like visio, that can receive mysql sql (DDL) and automatically create an er diagram from that with all the...
I am trying to upload a file through PHP and the result is a file with 0 bytes on the server.
Everything in the $_FILES array seems ok (no error number, size is over 4k, and tmp_name is populated). And is_uploaded_file returns true so it seems it is being uploaded from ther client's computer...
I created an application on my local PC machine to communicate with Filemaker on another server. Eventually I got everything to work fine with the use of the FX class. Now when I moved it to the Unix production server (of which I have no admin access) if received the following error:
Fatal...
I was curious as to what setup (if any particular one) is best for Filemaker Server. Does it matter between Mac OS X Server or Windows 2000 Server. Or is it mainly a matter of preference and price? Does Filemaker Server run better on any particular platform? Are there any capatability issues...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.