I'm a retired web developer who's been asked to help someone migrate their MS SQL IP Office database to MySQL, and to create a web interface where the client's staff can make database updates without having to involve their technical people (the example given was modifying the database to set a...
I'm retired now and the only system I still work on uses MDB2 for PHP database abstraction. That client has recommended me to someone else for some dev work and while I'm still happy with MDB2, I'd prefer not to write a new system using a dead abstraction layer.
So is MDB2 still kicking and/or...
I'm looking to implement Google's reCAPTCHA v2 "I am not a robot" captcha on several web forms, which will integrate best for us if it submits to a PHP (vs. PERL) script. Our contact/info forms are currently submitting to a 2004 PERL script, NMS FormMail, which seems to just line up form keys...
We pipe incoming email through a PHP script for distribution in our CMS. After processing, we save the raw mail to the filesystem for later debugging, if necessary.
Occasionally, PHP will miss a mail attachment and complain that it can't be found, but if we run the mail parser on the saved raw...
I'm creating a zip archive using PHP's ZipArchive functions. My code performs well enough on small archives but on larger jobs, the time difference between running the PHP script from the shell and running it from a browser is just ridiculous.
The script below, for instance, executes in ~37...
How can I write a query using LIKE with a wildcard where the string being matched ends with a non-digit?
For instance, I need a match on "LIKE 'Stale Ticket #13530%'" which will match the following values:
Stale Ticket #13530
Stale Ticket #13530 | Notice 4
But not these values...
Bear with me... I think my question really is about comparing base 64 encoded strings...
In a mail parsing app, I've come across incoming mail where the In-Reply-To and References headers have been stripped out and replaced by a Microsoft/Outlook Thread-Index header, and need to start...
I've recently found some corrupted files in an upload directory, leading me to wonder whether the upload process does any checksum comparisons while it's handling uploaded files.
For instance, when a file is uploaded from a user PC to the server's temp directory, is any checking...
I'm using wget to perform a daily incremental backup of the files on a remote webserver. Recently, those backups have been causing the remote server's firewall to block my IP. The hosting provider thinks the block is occuring because the firewall only allows three concurrent connections from an...
No clue where would be the best place to post this as I imagine multiple technologies could be involved.
I have PHP script generating a page based on values in a MySQL database, and I can't seem to wrap my head around how to code a feature I want. If someone could give me a nudge in the right...
My client's PHP ticketing system has a search form at the top of most of its tabular pages, and the tabular data is generated by MySQL using search form fields and wildcarded LIKE statments, i.e.
SELECT *
FROM inventory
WHERE part_number LIKE '{$_POST['part_number']}%'
AND description LIKE...
I have an ancient PHP multi-file upload form & script that's become something of a problem. It's fine for uploading relatively small files (50mb), but chokes on anything much larger, even with upload_max_filesize() bumped as high as 5gb.
When it chokes on larger files, I don't see any errors in...
As a LAMP coder, I'm completely out of my element with ASP but I've agreed to do some minor updates for a new client's ASP site and I'm trying to mirror their site and create a coding/testing environment on my desktop PC.
I now have things working to the point where I can access copies of their...
I'm using ezcMail to parse incoming email and can't figure out how to get the references and in-reply-to headers (highlighted below) from the object returned by the parser (below). Can anyone tell me how to do that?
object(ezcMail)#13 (5) {
["options":protected]=>
object(ezcMailOptions)#20...
I have an email app which needs to let users enter multiple email addresses into a text field, then separate out the addresses using Javascript for validation, and also separate the addresses using PHP when the form is submitted.
The script needs to support addresses in the form of
John Doe...
I'm trying to use CSS for a layout that would be a piece of cake using tables, but is driving me crazy trying to do the same thing with CSS.
I want a wide, narrow rectangular div. I want an image aligned with the right edge and in the remaining horizontal space to the left, I want a block of...
One of my projects hit a brick wall last week after my mail parsing script choked on an incoming mail from GoDaddy's "Workspace Webmail" client. I'd been using a mime parser from mlemos (mime_parser.php,v 1.80 2011/05/05 20:31:05) which returns the mail elements in a rather confusing (to me)...
Not sure what to even ask here... I have a shared Linux hosting account with Lunarpages, not sure what distribution the server runs.
In my cPanel mail config, I'm having all unrouted email for a particular subdomain routed to a PHP script which parses the mail, updates a MySQL database table...
I'm working on a PHP widget to receive receipt confirmation emails from users, and need a way to link the replies received with the original emails sent.
Scenario: Our office management system allows us to email a work order to the labor who will be performing the work. We ask for the labor to...
Hi all,
Hoping some kind-hearted CSS guru can tell me how to do this... as usual, I'm way out of my depth here and am hoping this is a simple matter for someone who actually knows what they're doing.
I want to dynamically create a grid of photos using a table, where each photo cell contains...
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.