Hi,
I'm trying to use the following code
# LOAD XML FILE
$XML = new DOMDocument();
$XML->loadXML( $exporteddatatransformed );
# START XSLT
$xslt = new XSLTProcessor();
$XSL = new DOMDocument();
$XSL->load( 'xsl/'.$xsltemplatefileid.'.xsl', LIBXML_NOCDATA);
$xslt->importStylesheet( $XSL ); <-- LINE 549
#PRINT
print $xslt->tr...
I have several checkboxes and I am trying to take a lazy approach of inserting them into the DB.
So I wanted to know, would the order of the checkbox array (checkboxes[]) in the POST super array be in the order that they are in my html page?
If not, then I will just stop being a lazy developer!
Thanks for any help.
...
I have a set of checkboxes that an Admin can tick to give users privleges. In my case, the Admin can click these checkboxes: Image on ImageShack. These checkboxes will allow users to view data for those countries/cities.
I am trying to rack my brains to do the folowing:
1) How to best insert this permissions into my database
2) How t...
Hi all, i am trying to create something like sports portal, using WordPress, i need to create new tables in the database, like News, Partners, Voting Poll and offer the administrator features so he can add new News, new partners which will be news papers websites that administrator will be able to fetch news from their websites and show ...
Hi all
Could anyone kindly tell me how to validate the YOUTUBE URL. using PHP
Example: For this URL how can we Validate: www.youtube.com/watch?v=GeppLPQtihA
Thanks in Advance..
FEro
...
i'm a beginner to php. i need to use php function which process some other pages and to display
dynamic result as javascript when a HTML button click is triggered .Is it possible?...
...
Im trying to put a link called submit resume in menu using li tag. when i give space between submit and resume it wraps down. How to prevent wrapping. help me
...
I am working on a URL shortening site which uses PHP, MySQL and Apache. General idea of URL shortening as I look at open source projects: user gives a URL link and the system gets ID for that link from database. Then convert the ID X base system (I am using base 36). Then use Apache mod_rewrite and create shortened URL and then redirect....
Is it possible to convert a PDF document to HTML or text and then edit some text of the html/text file and recreate the PDF, all in a PHP script?
...
Using Drupal 6 I simply want to disable the user/1/openid page for authenticated users. How?
...
in my php script i want to convert a pdf file to html format and while doing this the generated html file contents should not to be disturbed ....
i found http://sourceforge.net/projects/pdftohtml/ but it is command line tool and need shell access. Second thing is generated html file content get disturbed..
...
I am getting 5.2+ php required when installing opencart on Bluehost.
I see that bluehost runs PHP 5.2.9, but on searching the forums I see others are running open cart sucessfully on this version.
where do I start to try and get opencart up and running.
...
I m facing same problem and even i m using literal also, see my code:
Error in executing GetSpecificAuto for LastRecord. Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -14 [code] => -14 [2] => An invalid parameter was passed to sqlsrv_query. [message] => An invalid parameter was passed to sqlsrv_query.
function GetAuto...
In my Wordpress Blog I'm currently using an integrated http://U.nu url-shortener.
For this I've got in functions.php
function getunuUrl($url) {
$unuurl = file_get_contents("http://u.nu/unu-api-simple?url=".$url);
return $unuurl;
}
and in my post.php
<?php $uurl = getunuUrl(get_permalink($post->ID));
echo '<a href="'.$uurl....
I'm interested in knowing if it would be at all feasible to be able to send text messages via PHP. The main purpose of which would be to send a single message to a group of people - 10+ - with updates regarding news and such. Preferably the solution should be free, though it is not a necessity in any way. Thanks to all in advance.
...
i am using simpletest as my php unit test framework.
i put all my test cases into a single all_tests.php file
however, because of the tendency of our developers to use firefox to run the all_tests.php, we tend to miss out on fail cases that are browser specific, especially ie7.
is there a way that when somebody browse our all_tests.ph...
Hello all,
I am currently running a PHP script that queries the database and then sends text messages (via carrier's email-to-sms gateway).
In other words, I have the phone numbers stored in the DB as:
[email protected]
[email protected] // etc...
My method for sending these is using the Swift Mailer PHP Library. I am send...
Hello, do you guys know any free php ajax poll script with an admin panel? i cant find one, i have googled for ages.
...
I am trying to test some of these code here http://ha.ckers.org/xss.html on my code. To do so I need to set the codes on that page into a PHP variable, I am having trouble though.
For example this code below is incorrect just for setting it to a variable because of the "code" and 'code' the '" is what I am talking about. How can I s...
If "car" or "ferrari" as an input, it should print "car or ferrari". How can I achieve it?
<?php
$car ='333';
switch($car)
{
case car OR ferrari:
print("car or ferrari");
break;
case cat:
print("cat");
break;
default:
print("default"...