are there any frameworks for php that follow the style of vaadin,
in vaadin you can define web forms using java with touching javascript or any client scripting in swing style ?
In php what do you mean by function overloading and function overriding. and what is the difference between both of them? couldn't figure out what is the difference between them.
Thanks in advance for any help
How to fetch emails using curl php..
Hi
i have been trying to fetch mails from an externalsite using curl but i am unable to login i have given the post data everything but does not know why i am not able to login........
Plz help me out.....
I've developed a website in php codeigniter with the idea of using single physical instance of the code.
Here the logic i wanted to be is on login page user will chose the companyid which will be internally to the database name.
I want to know how to update the active_group variable according to the company id chosen by the user at the time of login.
Is there any way to do so.
I'm looking for a way to use the php number_format function or something similar that will add the thousand seperator but will leave any decimal part of the number intatct without and formatting of this. For example:
39845.25843 = 39,845.25843
347346.8 = 347,346.8
1000000 = 1,000,000
Thanks
Hi, I'm retrieving a date from a MySQL database that shows up like this: '2010-03-09 09:11:30'
How can I change the date to '2010-03-09 00:00:00'? I'm using PHP to perform the query. Thanks!
I have a PHP file and it holds a value in this session variable: $_SESSION['image_value'].
I want this session value in a JavaScript function. Actually, I want to match a string in my JavaScript function with this session value.
Anyway I can do this?
Hi,
I have a string in PHP for example $string = "Blabla [word]";
I would like to filter the word between the '[' brackets.
The result should be like this $substring = "word";
thanks
Hello,
I was looking for PHP TV guide scripts with it's Database structure.
Or at least the Database Structure by itself.
Any help or infomration would be really appreciated, I just don't want to start from scratch.
Thank you,
Hi, i want something like this:
http://www.someniceandreliableurl.com/username
and catch the username.
I want to make something like twitters/facebook/etc quick urls...
twitter.com/username
How can i make something like this with php? =) thank you in advance.
Hello,
I am wanting to create a web-based cronjob system for my userbase, and would need to know the best way to open a php script on a remote server, and ensure the script runs (could take 3 minutes), and use the least ammount of resources on my own side.
There is the possibility of having hundreds of connections open at one time.
Any advice on how I should go about doing this?
Thanks allot,
Hudson
How can we convert Wed Jun 09 2010 which is returns from a javascript function and get in a php script.I need to convert this date format to 2010-06-09.Thanks
How does PHP read if statements?
I have the following if statements in this order
if ( $number_of_figures_in_email < 6) {
-- cut: gives false
}
if($number_of_emails > 0) {
-- cut: gives false
}
if ( $number_of_emails == 0) {
-- cut: gives true
}
The code behaves randomly. It sometimes goes to the third if clause and gives me a success, while sometimes to the one of the first two if clauses when the input variables are constant.
This suggests me that I cannot code only with if statements.
i am creating a marks management system using php & mysqlwhere the concerned faculty will be able to login and enter the marks of the students. i can go with a simple table but the problem is there are 288 different subjects for which marks must be entered. So creating a mysql table with so many subjects does not look good for me. please suggest me the best way to manage user permissions so that only the corresponding faculty will be able to enter marks
In php how to check if one date (given as string) differs to another date at least tree month (unable to find any examples):
$date1 = "2013-11-05";
$date2 = "2013-11-19";
//both dates is in form yyyy.mm.dd
differsTreeMonths($date1,$date2) { ???? return $differs; }
differsTreeMonths("2013-11-05","2014-05-02");//true
differsTreeMonths("2014-01-01","2014-04-01");//true
differsTreeMonths("2014-01-01","2014-03-31");//false
differsTreeMonths("2013-12-01","2014-01-15");//false
etc
Thank you
What is the best way to queue background processes in PHP...
Zend's job queue seems very nice but I am not able to switch to zend server what are the alternatives for doing this?
Hi all,
I hope there is a simple solution!
I have a variable:
$results['q1'];
Is it possible to have the 'q1' element as a variable, something like this:
$results['$i[question]'];
Have not been able to find a solution on Google and researching the PHP manuals...
Anyone got a suggestion/ solution?
Thanks,
Homer.
Often I just need to get a single value from MySQL that I know exists there. I use the following construct:
$result = end(mysql_fetch_array(mysql_query('SELECT FOUND_ROWS()', $db)));
Is there a proper single function in PHP that would do this?
I am new to PHP and would like to learn. I am limited to running on Windows and need advice on getting setup. Which IDE should I use? Are there any development servers similar to the one included in Visual Studio? What other general advice do you have?
i want to make non-exsist file i mean its not exsist on the server
i want make it and send it the the broswer by php
i think using header function
but how i can do that
i have no idea
can any one tell me
Hi,
In ASP.NET if I declare a variable (or object) static (or if I make a singleton) I can have it persist across multiple sessions of multiple users (it it registered in a server scope) so that I don't have to initialize it at every request.
Is there such a feature in PHP? Thanks
Hi!
Is there any lightweight validation library available for PHP that easily can check if a specific string or value is valid for a known database type -
Something like this:
if (is_MEDIUMINT($var)) {
$this->db->insert($anothervar);
}
Thanks!
I need read in and parse data from a third party website which sends XML data. All of this needs to be done server side.
What is the best way to do this using PHP?