Add site logo on standard paypal redirected page in php
Hi, I want to add my site's logo on paypal redirected page from my site to paypal, for payment. Any one know how to do that ...
Hi, I want to add my site's logo on paypal redirected page from my site to paypal, for payment. Any one know how to do that ...
Is it possible to disable individual options in a Zend_Form_Element_Radio? That is, I'd like to add disabled="disabled" to certain input tags. Does the Zend Framework include this functionality? Or is there another way to accomplish this? ...
Hy im trying to split this string in PHP. 11.11.11.11 - - [25/Jan/2000:14:00:01 +0100] "GET /1986.js HTTP/1.1" 200 932 "http://domain.com/index.html" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 GTB6" How can split this in to ip,date,http method domainname and Browser ? ...
Hi There, Is there anyone here who might be familiar with web services in the yii framework? I declared the following test method: /** * Send a single SMS message * * @param string $username Username * @param string $password Password * @param string $identifier Valid Identifier to use * @param string $mobileNumber Mob...
when I have a value like this in the database ("foo") how can I echo it without any conflict with html code notice <input type="text" value="<? echo '"foo"'; ?>" /> the result will be like this <input type="text" value=""foo"" /> how can I fix it ? ...
Hi, starting new project where users can register and system will automatically install cms system for users registered domain and need to solve dynamic setting of the server (apache). Registration information and info about the associations between domains and actual paths to the cms installation on the server will be stored in Mysq...
I am using mysql as a db. Is there any formula for determining the cache size needed to cache the results? Thanks ...
I have a database where I would like to construct a result that match my indata. Explanation of examples: "Indata" is a row with criteria for the filter in step #1, see below. "Results after filter #1" is the rows left after step #1 "Results after filter #2" is the rows left after step #2 "Print for indata 1" is the end result, presenti...
I have a large XML file (600mb+) and am developing a PHP application which needs to query this file. My initial approach was to extract all the data from the file and insert it into a MySQL database - then query it that way. The only issue with this was that it was still slow, plus the XML data gets updated regularly - meaning I need to...
<?xml version="1.0" encoding="ISO-8859-2"?> <!DOCTYPE pasaz:Envelope SYSTEM "loadOffers.dtd"> <pasaz:Envelope xmlns:pasaz="http://schemas.xmlsoap.org/soap/envelope/"> <pasaz:Body> <loadOffers xmlns="urn:ExportB2B"> <offers /> </loadOffers> </pasaz:Body> </pasaz:Envelo...
I'm trying to make the Auth module to 'remember' the user session with a checkbox on the login page. What happens is that no cookie is created, only session as usually. I've noticed the user_tokens table, but don't see any use of user_token model's methods at all. I do pass (bool) TRUE as a third parameter to login() method, but there's ...
I've got a reference to some function in php code. How to find out in which of included files the function is described? ...
I'm making a simple Textile parser and am trying to write a regular expression for "blockquote" but am having difficulty matching multiple new lines. Example: bq. first line of quote second line of quote third line of quote not part of the quote It will be replaced with blockquote tags via preg_replace() so basically it needs to mat...
I'm currently tearing my hair out trying to persist authentication via a database bases session. I've set Zend_Session to use a database, and on inspection, Zend is writing values to the database. However, the ID for those sessions doesn't appear to match the PHPSESSID - yet when I get Zend_Session to return the id - it returns a matchi...
For concurrency and ensuring the integrity of the data, how would you obtain a mutual-exclusion lock for a given object? Would you need to use locking within the database, or a file, or does PHP support something like this? ...
I need to calculate a difference between a starting date/time and an ending date/time. But, I only want to do this for the 5-day work week (exclude Sat/Sun as days). What is the best way to do this? My thought is that from the date, I'll have to get the day of the week and if it is a weekday, then I add to the accumulator. If it's no...
Hi , really simple question how can I preg_replace the backslash charactor ? ...
Hello all, I have been successful in querying a Microsoft Access 2003 database (.mdb file) and now I am trying to do the same for a Microsft Access 2007. I have tried the following: if($type[1]=='accdb'){ echo 'accdb'; //2007 Microsoft Access $connection = odbc_connect("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=$mdbFil...
How can I create a class in oo php wherein that class will be the one that will manage the DB connection? Sample codes or sites will do. Im using MySQL Command Client by the way. Main problem: How can I connect to the DB so that I can insert new records, retrieve records, update records? Thank you! ...
Hi there, I need a rank system ( like stars etc.) for my website. Do you know eny scripts that are highly customizable? I would like to use it with a CMS, not as stand alone aplication. Any sugestions will be very helpful ...