PHP is an open-source server-side scripting language widely used in web development. Use this tag for questions about PHP classes, methods, functions, syntax and use.

learn more… | top users | synonyms (6) | php jobs

0
votes
0answers
2 views

hello , i want the regular expression to match the Date format (M d, Y) ex:(July 22, 2013)

hello i have been trying to check if date corresponding to a proper date format using regular expression my function public function isValidDate($dateTime) { global $core; echo $dateTime; ...
0
votes
1answer
21 views

How do I store data with execute permission only?

I have a task where I must store data without a database server present - and I only have script execute permissions only - are there any possibilities?
1
vote
1answer
13 views

Ajax/ Jquery in Zend framework

I’m using Zend framework (php) and I’m trying to submit a from using ajax/jquery. Here’s the .phtml: <form id="find"> <input type="text" name="name"> <input type="submit" ...
0
votes
0answers
31 views

how to Sort an array with PHP or Jquery

can anyone help me please, say that i have an array like this : <?php $arr_sequences = array('00-02', '02-03', '03-07', '23-03', '03-23', '07-11', '11-10', '11-11'); ?> how to sort the ...
0
votes
0answers
3 views

join in cakephp 2.x

How can I implement this query in cakephp? I can't get the information from Users table. SELECT * FROM Manufacture LEFT JOIN Order ON Manufacture.order_id = Order.id LEFT JOIN User ON ...
0
votes
0answers
6 views

Passing a $_GET through mod_rewrite setup for maintenance mode

I am looking for some guidance when working with a maintenance mode system, utilised within a .htaccess file, via mod_rewrite and passing a $_GET along with it. Passing a $_GET in mod_rewrite is ...
0
votes
4answers
46 views

PHP Image not showing in HTML using <img src

Hello there i have a php file with the included: The image shows properly when i access the PHP file, however when I try to show it in the HTML template, it shows as the little img with a crack in ...
0
votes
0answers
6 views

Retrieving a product picture via PHP Amazon Zend Service

I have installed the Amazon Zend library from GitHub and can access item information using the following: <?php require_once './Zend/Loader/StandardAutoloader.php'; ...
0
votes
0answers
10 views

CodeIgniter - Can not load custom library in MX_Controller

This is a library I created: <?php if ( !defined('BASEPATH')) exit('No direct script access allowed'); class MY_Cart extends CI_Cart { public $CI; function __construct() { ...
0
votes
2answers
22 views

Family tree visualization php/javascript

Is there an existing PHP or Javascript tool that could create an image for a family tree? My database: Users table (username, password, userid, userlevel, email, timestamp) Basically, I store all ...
-2
votes
0answers
27 views

installing PHP on my windows 7 computer

im having trouble while installing the latest version of PHP on my windows 7 computer I keep getting an error saying MSVC110.dll is missing, I installed a dll file fixer but I think it was a fake as ...
0
votes
0answers
13 views

Zend_Form: how to remove multiple <legend> elements in fieldset (nested DIV)

I want to get something like this: <div class="widgetbox"> <legend class="widgettitle">Widget Box</legend> <div class="widgetcontent"> Content goes here... ...
0
votes
1answer
11 views

how to generate two reports on every single a4 page using while loop in php

I am working on a form which can generate several reports on a single click. These reports maybe in the hundreds so what I need to do is print only two reports on every single a4 page and after that ...
-1
votes
1answer
19 views

What is faster - grabbing image from folders or grabbing image from a url?

I've always debated this in my head and now would like some input from you guys at stack. So what is faster? I can see that grabbing images from files are probably the fastest since it's local, but ...
-3
votes
0answers
23 views

Performance of SESSIONS arrays in PHP

I am building an application that needs to handle user permissions. I store these permissions in a table in the database. When the user logs into the system, I select all permissions this user has and ...

1 2 3 4 5 27533
15 30 50 per page