I am 100% new to Perl but do have some PHP knowledge. I'm trying to create a quick script that will take the @url vars and save it to a .txt file. The problem that I'm having is that it's...
I spent a few hours the other day tinkering around with the Facebook API (FQL) and found it pretty cool! I saw that there is a way to query facebook users by their FB ID, but I was...
Just wondering if it's possible to get the AVS and CVV2 response codes from PayPal using a PHP code. I found some sample codes off the PayPal developer site, but when filling in our API info, it...
I couldn't find a place to post this in this forum, but love this forum, so thought I'd throw it in the PHP section since part of this question is related to PHP mail.
Not very good with preg_replace and was wondering if someone could provide a quick fix to this. I know that you have to add the slashes to the delimiter, but my delimiter is a variable...
Thanks! Seems to have worked but didn't append my problem with the 500kb. Turns out I just needed to comment out my table so that the cron doesn't waste valuable resources reading the table which is...
Thanks for your response. I've tried this but havent been able to do it properly. I used a function to create the array. When I do a print_r with <pre> tags around it, all of them come up as ...
Found the problem finally. Such a stupid mistake! For those who are searching for the answer, if you have commas in your values, make sure you str_replace them.
I'm trying to run a script in a cron tab and I'm using fopen to open 2 different urls in the script. The first url opens fine and executes that script with the right parameters, but the...
Thanks for your reply. The str_replace didn't work, but it turns out that I'm an idiot because I was echoing the variable $label which happened to show the 'Telephone Number'.
Was wondering if you can preg_replace an unserialized string. My website serialized user input forms and I need to unserialize them. That's no problem, but I need to replace part of the unserialized...
I'm trying to a simple program and everything was going great until I came to the actual output part. I have a dropdown, a text area and a submit button. When a user selects a value...
I'm a SQL beginner and was wondering if anyone could help me join 3 tables together. I've successfully been able to use an inner join to get the information needed, but I need to get...
Thank you so much! I wouldn't have had any idea what to do. Guess it's not so advanced afterall. I was looking into strreplace and pregmatches all day to try to do this!
This may be an advanced question for PHP and so I wonder if it's even possible. I have a situation with my ecommerce site where when a user fills out certain pieces of information, it INSERTs it into...