how do I process authorize.net payments without a card (using the "card not present" test account)
the card_num field is required...but all I have is a Card NoT present testing account...now how exactly do I go about that? ...
the card_num field is required...but all I have is a Card NoT present testing account...now how exactly do I go about that? ...
Hello! I want to know the best way of writing out my "$imagepath" in to this input This is my upload script <?php if(isset($_POST['submit'])){ if (isset ($_FILES['new_image'])){ $imagename = $_FILES['new_image']['name']; $source = $_FILES['new_image']['tmp_name']; $target =...
How can I create a seeder and peer counter for a torrent tracking site ? ...
Hi, I'm having troubles with subcategories. I want to display this on my page with 1 sql query: Category 1: Sub cat 1 Sub cat 2 ... Sub cat n Category 2: Sub cat 1 Sub cat 2 ... Sub cat n Category 3: Sub cat 1 Sub cat 2 ... Sub cat n ... Table schema: categories id | catname | description subcategory id | pare...
I'd just like to check, is this a good way of iterating over rows in a database and deleting them when processed? I first had Grab all Process all Delete all But figured that might leave to problems if new rows were added (from outside) while the "Process all" step is running. // the limited for loop is to prevent an infinite loop /...
Hi, I am working with php. I have images kept in order. When i do query the images comes in order but when they load they does not load in order. The small images load first and then big images. For example I have 5 images. These images should be loaded in order(1,2,3,4,5). But here its not happening. Image 4 loads first, then 2, 1 an...
from 01-01-2009 to 02-23-2009 how to find out how many Sunday in between these days?? ...
I need medium to strong encryption on serverside, so I thought I would use mcrypt with PHP. If I use the functions below the beginning of my original string turns into binary garbage after decryption. (This is not the usual problem of getting appended additional garbage, instead my string is altered.) According to the documentation, mcry...
Hi guys I need a class to generate vcards - something that I can use with the Zend Framework - nothing too flashy. Thanks again... ...
I have a PHP application using CakePHP. I need to present a table showing the count of particular events for each day of the month. Each event is record in the DB with a name and a Data. What is the best way to create a table for this, do I really need to do 31 SQL calls to count the events for each day, or take out the data for the whol...
Hello, I'm using Zend Framework 1.62 (becuase we are deploying the finished product to a Red Hat instance, which doesn't have a hgih enough PHP version to support > ZF1.62). When creating a Form using Zend Form, I add a select element, add some multi options. I use the Zend Form as an in-object validation layer, passing an objects val...
my mail have some tempalte with HTML tags includes and images.. when i am sending mail to my id and open that in Gmail it getting the correct template but in thunderbird am getting only html tags... not the correct format code: <?php // multiple recipients $to = '[email protected]'; // note the comma // subject $subject = 'Birthday Remi...
Hi, I have WYSIWYG style javascript interface that allows a designer to create rectangular regions to generate a document server side. It is important that these regions do not overlap. I was wondering what is the single most efficent way to perform a hit test on 2 rectangular regions, there could potentially be hundreds, so efficenc...
Hi, I want to use a hyperlink on one page to load details into another form page, and then update a database table using the form field values. I have 2 php pages. One returning the bet_id of the last 10 records of a MYSQL query and another returning all field values for a specific record into a form, giving the end user the opportuni...
I am making a simple Dynamic Website using PHP, where i allow the user to login and then access specific pages. So here's what i have done so far. The logged in values are taken though $_POST variables in a php script where it fetches values from database for registered users. If the user is found i do the following session_register('...
Hey, This is driving me absolutely crazy. I can update my status using twitterlibphp and I can get followers, following etc but no matter what I do $o->follow(twitter_id) just will not work. It responds with <?xml version="1.0" encoding="UTF-8"?> <hash> <request>/notifications/follow.xml</request> <error>There was a problem follow...
I have a table where I save all row-changes that have ever occurred. The problem is that in the beginning of the application there was a bug that made a bunch of copies of every row. The table looks something like this: copies |ID |CID |DATA | 1 | 1 | DA | 2 | 2 | DO | 2 | 3 | DO (copy of CID 2) | 1 | 4 | DA (copy of CID 1) | 2...
Trying to build a admin panel for uploading text and images here is the html page. The Html page is working fine it's the php page that is broken the html is just here for reference. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <title>Administartor Panel</title> <head> <link rel="stylesheet" type="text/css" hre...
i wanna to connect to postgresql database using php but it display a blank screen when submit and doesnt execute the query Thanks in advance Update: this is my code function execute_query($dbName,$query){ $host = "localhost"; $user = "postgres"; $pass = ""; $db = "test"; echo "before create connection"; $con = pg_co...
I'm trying to store some data in a SQL Server database through php. Problem is that special chars aren't converted properly. My app's charset is iso-8859-1 and the one used by the server is windows-1252. Converting the data manually before inserting doesn't help, there seems to be some conversion going on. Running the SQL query 'set ...