php

php based chat

hi i want to create a php chat application this chat also include chat room is there any open source to fulfill this condition ...

Tips to begin programming and multimedia arts?

Hi, I'm mostly a versatile IT specialist but I wanna convert myself to programming and multimedia arts to be good all-around to replace sometimes the needs of another specialist of another branch for little stuff that I could do myself with a little pratice ... I got little knowledge of programming with VB, html and batch files but for ...

Can't create a folder with mkdir

Environment info: *Windows Vista *PHP 5.2.9-2 I'm working on a project. Let's say it's name simply "project". My php files meant for user-interaction will be found at project/file.php Now, I have a database behind this and some maps, which contain classes and configuration files in general. There is also a map for the users, in w...

Is it possible to log the entire value of parameters in Exception traces?

When reading over my error logs I notice that long parameters (such as SQL strings) are truncated in the Exception trace. Here's an example: FR_Model.php(204): FR_Base->query('INSERT INTO pos...', Array) I'd like an easy way to echo the full parameter without having to roll my own Exception subclass. TIA. ...

Is HTTP Authentication possible with PHP on IIS FastCGI?

I've just migrated from PHP 5.2.3 using php5isapi.dll to PHP 5.3.0 using FastCGI and php-cgi.exe. On this site I have hooks for windows/ntlm/http authentication doing something like this: if(empty($_SERVER["REMOTE_USER"])) { header("HTTP/1.1 401 Unauthorized"); exit; } $winuser = $_Server["REMOTE_USER"]; //parse $winuser to make sur...

Zend_Form and dojo FilteringSelect failing to populate

Hi, I am really struggling with the FilteringSelect component in this particular form. Now I have used this component before however for some reason this one just won't populate. I am using the Zend_Form and the form code for the filteringselect looks like this. $universities = new Zend_Dojo_Form_Element_FilteringSelect('university...

how to enable cross domain POST-ing in PHP?

I'm tying to send POST data from one site to another (both sites have been developed by us). The problem is that the POST variables are not available if the page is requested from another domain. Even if I test it locally, but specify the complete url, the POST data is gone. So, this will work: <form method="POST" action="test.php"> ...

Signature generator with upload does not work

Hey, i just wanted to know if you guys know why this does not work. http://www.anitard.org/siggen/siggen_stripes/ When you've uploaded an image the script gets the file path from the form and then when you press create a signature is supposed to appear with the image you uploaded, but it doesn't! If anyone know what the problem is, pl...

PHP equivalent of VB.net character codes

Hi, So I am calling an API written in VB.NET from PHP and passing it some text. I want to insert into that text two linebreaks. I understand that in VB.NET, the character codes for a linebreak are Chr(10) and Chr(13). How can I represent those in PHP? TIA. ...

Ajax phpmyadmin alternative?

I must say, I'm bored of phpmyadmin. We are in 2009 and have to work with this usefull tool and to wait everypage to reload after every action. Are any ajaxed alternatives outhere? Maybe phpmyadmin himself is going to be ajaxized? ...

How to return TRUE|FALSE from class in PHP

Hey there! I was wondering why my php program is not returning the correct TRUE FALSE value when the class is included elsewhere it goes something like this source: signup.php class signup { function buildProfile() { if($logic){ $this->success = TRUE; }else{ $this->success = FALSE; ...

Zend_Db_Table - Associative Array Instead Of Object

The following line: $select = $table->select(); $select->where('approved = 1'); $result = $table->fetchRow($select); Returns an object. What I would like is to get an associative array instead. I know that Zend_Db has fetchAssoc() method for that but is something similar also in the Zend_Db_Table (I tried fetchAssoc() but it doesn't ...

MySQL PHP Verify an advert/post via email before displaying on website???

Working on a web based "buying and selling" application with PHP MySQL where users can post adverts for items and services. Before a new advert is displayed on the system there must be a method of verification to ensure that the user provided email address is correct, and that the advert is legitimate. I want to send the creator of any...

Best way from PHP to ASP.net?

What all is involved if I wanted to switch from PHP to asp.net? I have basicly no knowledge of asp or other languages besides php and some javascript. What would be the best place to start learning more? What is needed to host an asp site? What is it developed with? Is there an equivalent to php.net for a resource? ...

PHP/MySQL security--where to begin?

I'm a PHP/MySQL noob who knows nothing about online security. Could you point me to some resources that will aid in my knowledge? (Beginner level, please!) ...

books in college

I need as much knowledge as a college graduate! What books should I read? If you had to study PHP, Java, Ruby or Python, I'm even more interested in your answer. ...

Detect OS X version 10.4 and below on server

Based on this it looks like it's hard to get OS version detection absolutely correct. However, I'm looking for something half-decent which warns users of OS X Tiger and below about possible compat issues with my product. The heuristic I can think of is first detecting whether the OS is a Mac (relatively simple) and then matching the use...

Where is the smallest PHP Forum?

I know there are minimalist forums out there like punBB - but has anyone ever run into a super tiny forum/discussion system that was barely more than posting comments? Are there any microscopic forums hidden on google code or github? I found a PHP version of ruby's Beast written in CodeIgniter - but it was still pretty large. ...

Date and Time helper for PHP (like jodatime in java)

Hi, I am looking for library (open source) like Joda Time in Java world. is there any library like that ? Joda Time is very helpful to calculate date and time. I can add days, weeks, month, year and also can converting date and time easily. I wish there is library like joda time for PHP edit: I need some functions that available in...

Posting to php page using local program

Greetings all, I have an application when I am posting data on a fairly regular interval. I have one set of code which was developed for VB on the local side and classic ASP on server side, now I would like to change the servside to PHP. The original code uses the xmlHTTP object to post xml data to an asp webpage, worked like a charm. ...