When using mkdir() with the recursive flag set to true do all the created directories get the specified chmod or just the last one? For example:
mkdir('/doesnotExist1/doesnotExist2/doesnotExist3/', 0755, true);
Will the newly created directories /doesnotExist1/ and /doesnotExist1/doesnotExist2/ also get the same chmod as /doesnotExist...
i am trying to sell a few products off my website, and i need to just accept a credit card and be able to push a download to the buyer.
here's an excellent way to do this with paypal items
http://www.ngcoders.com/php/selling-digital-goods-with-paypal-ipn-and-php
do you know if i can do the same thing authorize.net?
...
Hi guys, as the title said i am trying to use php to get the height of a < div> element then with that value, applying to an image. This would actually shrink the image or stretch the image. As i am still new to coding, i searched online and what i found is only solution of doing it in javascript, which is something like this
DivHeight ...
Hello,
I've got a web interface from which I will gather user data (username,pass,email,etc..) and the backend has to provision these data into 3 other systems (SystemA, SystemB, SystemC).
The provisioning is being done by 3 different APIs one for each system (A,B and C).
My current design in the backend looks something like this:
...
Hey,
I'm trying to link together a number of pages in a regular flow in Drupal. The way I've been doing it recently, is to create a new Menu and then seperately create a page for each menu item.
For example, I have a menu block with links One through to Six. I then create six pages and link One to node/1, Two to node/2, Three to node/...
I am currently using jQuery validation plugin with cakephp in my new project.
It's working perfectly untill I need to make unique check to email field through ajax to check with the database..
I didn't know how to make the plugin make a unique validation to email from db.
thanx
...
Hi All mates!
This time ask you this question:
Assuming we have this img ( generated by php ) linked in clients sites
<img src="http://mysite.com/genimg.php?id=2" alt=""/>
Is Possible to get back from the client location some infos!? ( es. client url )
PS:
don't need something that open
the entire client page and search for link...
I’m looking for a CMS based on CodeIgniter. Can you suggest what CMS I could use?
I want to learn how to build a CodeIgniter application based using a CMS as a reference.
...
I am working on a site at the moment, and there is a concentrated focus on efficiency and speed in loading, processing and such like.
I'm using the mysqli extension to get my database bits and bobs, but I'm wondering what's the best / most efficient way of outputting my dataset?
At the moment I'm using $mysqli->fetch_assoc() and a fore...
Hello,
I am using CodeIgniter and in my controller I have
function index($var_22) {
// BLABLA
}
So if I dont pass the $var_22 variable I will get an error:
A PHP Error was encountered
Severity: Warning
Message: Missing argument 1 for Claims::index()
But I dont need to pass it all of the time, what should I use when I do not pas...
Is it poosible to delete just one column in a table when display out?
company name || name || year||
____________________________________
walmart || jason || 1990
___________________________________
walmart || mary || 2000
to
company name || name || year||
____________________________________
walmart || jason || 199...
I am getting daily data dump via e-mail, which is being processed by Access (based on the Outlook rule, VBA is extracting the attachment and running Access procedures, so I get a report).
As data dump is getting bigger and bigger, and having in mind that Access is run locally which consumes my resources, I want to set up a PHP/MySQL ser...
Which is the best recommended algorithm to use for encrypting passwords in php/mysql
...
On my website I am using ajax post request to show content around my site, this is done using this code,
$("a.contentlink").click(function(ev) {
ev.preventDefault();
$('#main_menu').hide();
var url = $(this).attr("href");
var data = "calltype=full&url="+url;
$.ajax({
url:url,
type: "POST",
da...
I found few related posts here but didn't get my answer. So posting again.
How would i install a pecl extension on windows? Say I want the pecl oAuth extesion on windows xp.
I know 2 methods, but none of them is working for me.
The site http://pecl4win.php.net/ is down for months. So I cant download the dll. Is there any place we can d...
<?php
$row = 1;
$handle = fopen ("test.csv","r");
while ($data = fgetcsv ($handle, 1000, ",")) {
$num = count ($data);
print "<p> $num fields in line $row: <br>\n";
$row++;
for ($c=0; $c < $num; $c++) {
print $data[$c] . "<br>\n";
}
}
fclose ($handle);
?>
The above comes from php manual,but I didn't see whe...
Hi everyone....
i need to build a website that streams music from an online radio station...?
In this website, the user can choose from different channels and listen to music....
What are the possible softwares or technologies that i can use to build this....?
I will be using php for server side.... I am researching about what else i...
Hallo,
I use a prepared statment wiht PDO. and the method execute.
I want to display the statment before it is executed, with the data replaced - the real 1:1 statment as a string?
Any ideas?
...
I'd like to set up an observer in Magento that performs an action when the status of an order changes.
I'm familiar with process of creating modules. What I'm looking to understand is what needs to placed in the modules config.xml, and what is the naming convention for the classes and/or methods that need to be created.
...
hi
i found it difficult,,,, fetching data from database while a buttons are randomly generated in for each how can i fetch
...