Getting Started with PHP Extension-Development
Please suggest help articles or tutorials about PHP "low" level С-modules programming interface. ...
Please suggest help articles or tutorials about PHP "low" level С-modules programming interface. ...
can anyone help me how to read .doc and .xsl file on linux server through php like the view as html feature on gmail... ...
Hi There I know some PHP and now I'm the stage of choosing a framework. After some diggs, I've find that CakePhp is a good choice. After some manual/tutorial readings and trying some cakephp code samples I'm wondering myself about how good is the idea of naming convention used by CakePHP. They are using the term: "convention over conf...
Hello, I'm setting up a feature for "exporting as ics file" (iCal) our weekly school agenda. The download prompt works but when opening it in iCal (Mac OS X), iCal tells me the calendar is invalid. I opened the file in a text editor and it looks ok to me. I suspect my download.php script is wrong or setting the wrong mimetype. I trie...
I'm trying to insert a date ("This is a string") into a postgres database field. I'm getting the following error ERROR: invalid input syntax for type timestamp: "" Here is my code $date = '2002-03-11'; $query = 'INSERT INTO dates(date) VALUES('.$pdo->quote($date).')'; $pdo->query($date); I have absolutely no idea on how to do thi...
I'm thinking of switching from using PHP to Python for web applications, but I was wondering if Python is as adept as weaving in and out of HTML as PHP is. Essentially, I find it very easy/intuitive to use <? and ?> to put PHP where I want, and am then free to arrange/organize my HTML however I want. Is it just as easy to do this with Py...
I have the following code to pull the auto generated thumbnail images from a post which I use to display in the archive page. The code works fine on my local server but as soon as I uploaded it to the web, it doesn't work. ----EDIT----- What it now displays is the same thumbnail for every post, the one linked to the first post entered...
Hi to all, I want to make an iPhone application that send some data to php web site. Which is the best way to do it? Someone know how application like facebook do it? I can avoid to use SSL? Thanks! ...
Our relatively small development team is getting a bit sick of Dreamweaver. The only functionality that we're reliant on is its file check in system. As the team is likely to grow over the next few months we need to address these issues. Subversion has come to our attention but are unsure if it will suit our requirements. All we need i...
Hi! I want the users to upload files through my webapp I am developing in PHP usinig MySql in the backend. I want to store the files in the database. I am facing problems in doing so. Also, once the file is stored in a Database how do we go for downloading it, displaying it correctly in the webapp (the file type, and other attributes o...
Hi guys, need your help with PHP templating. I'm new to PHP (I'm coming from Perl+Embperl). Anyway, my problem is simple: I have a small template to render some item, let it be a blog post. The only way i know to use this template is to use 'include' directive. I want to call this template inside a loop going thru all the relevant blog...
Hi i am trying to retrieve data from mysql database to create flot graph can anyone walk me through this procedure or give me an idea of what to do thanks ...
Hi everyone, I'm currently trying to get a script to submit a form to a page that is external to my site but will also e-mail the answers given by the customer to me. The mail() function has worked fine for the mail... but how do I then take these values and also submit them to the external page? Thanks for your help! ...
Okay, I'll lay this out simply: I have one database that has content in it but I need to set up a conditon where if the user has selected Britain instead of the U.S. or vice versa -- some content will not show. This condition can be applied via a checkbox in the backend like so. "Hello, I'm a paragraph" show in [x] Britian [x] U.S. I'...
Hi, I need a binary/script (php) that does the following. Start n process of X in the background and maintain the number processes. An example: - n = 50 - initially 50 processes are started - a process exits - 49 are still running - so 1 should be started again. Please, this is urgent. Thanks! Michael P.S.: I posted the same questi...
I run the code below without unsetting the arrays and then with unsetting the arrays using PHP's unset($array-here) And the memory number increases when I use the unset. Any ideas why? ANd better yet, what is the proper way to free memory? NOTICE: PLEASE, no preaching about pre-optimizing, its EVIL and all that, this is a test s...
Hey, I've tried several variations of ASP & PHP native & 3rd party mailer programs. I have hit a wall at almost every point between setting ini parameters from within the scripts to permission denied/transport fails. I would be wasting time to show my examples for what I've tried so far. All my searches produce too many results with t...
I'm trying to get up to speed on HTML/CSS/PHP development and was wondering how I should validate my code when it contains content I can't control, like an RSS feed? For example, my home page is a .php doc that contains HTML and PHP code. I use the PHP to create a simple RSS reader (using SimpleXML) to grab some feeds from another blog ...
I found the following code in php.ini. what does that mean? And "PHP registers" -- what is that? ; This directive describes the order in which PHP registers GET, POST, Cookie, ; Environment and Built-in variables (G, P, C, E referred to as EGPCS or GPC). Registration is done from left to right, newer ; values override older values. ...
index.php has this jquery code which loads notifications.inc.php into a div on the page every X amount of seconds <script type='text/javascript'> $(document).ready(function(){ var updatenotification = function(){ $('#notificationcontainer') .load('notifications.inc.php') .fadeIn("slow"...