Category "php"

How does webserver handle HTTP POST [closed]

This might be a very basic question. But, the question that I am trying to address is that Webserver is there to handle HTTP Requests, So it's

Split a string array into pieces

Let's say I have an array that store like this: Array ( [0] => width: 650px;border: 1px solid #000; [1] => width: 100%;background: white; [2]

php script to delete files older than 24 hrs, deletes all files

I wrote this php script to delete old files older than 24 hrs, but it deleted all the files including newer ones: <?php $path = 'ftmp/'; if ($handle = o

Php Does not print date in input

PHP 5.3 Friends, I'm trying to insert the current date into an input, but it's not right, what do I do? I tried everything and I can not find a solution, but in

Pass custom field in PayPal email subscription link

I need to pass a custom variable in a PayPal subscription email link. It has to be an email link. I have tried this PayPal Custom Variable in Email Link but it

Why rand() every time I refresh the page?

I want to run mini program for confirmation security question : $questions = array('dog legs','car legs','the best country in the world'); $answers = array(4,4

Adding the custom page with add_menu_page function on Wordpress

I am using the add_menu_page function on WordPress; this is the code; function my_admin_menu() { add_menu_page( 'My Top Level Menu Example', 'Top Level Menu

insert multiple rows in a saveall in cakephp

i'm newbie in Cake and wodering how to insert multiple rows in a single saveall function, i got this table, CREATE TABLE IF NOT EXISTS `dates` ( `date` varchar

Results page in other window

I have this simple form: <form method="post" action"."> <input type="text" name="title"> <input type="submit" name"send"> </form> I wan

Modify WooCommerce REST API product image upload

I have to create and update products via WooCommerce REST API, without image uploads to media library (only the image source is need to be stored, because they

Modify WooCommerce REST API product image upload

I have to create and update products via WooCommerce REST API, without image uploads to media library (only the image source is need to be stored, because they

Laravel video upload - issue with ios device, mime-type application/octet-stream

I created an API to upload videos. when I upload a video from postman its works fine but when I use the same API with ios device file extension missing. Request

Laravel video upload - issue with ios device, mime-type application/octet-stream

I created an API to upload videos. when I upload a video from postman its works fine but when I use the same API with ios device file extension missing. Request

Laravel video upload - issue with ios device, mime-type application/octet-stream

I created an API to upload videos. when I upload a video from postman its works fine but when I use the same API with ios device file extension missing. Request