questions/web-development/php/page/10
I want to display an image from ...READ MORE
Hello @kartik, Use this SQL command: ALTER USER 'mysqlUsername'@'localhost' ...READ MORE
I want to upload an image to ...READ MORE
Hello @kartik, Include the first file into the ...READ MORE
Hello @kartik, Use the ampersand & to glue variables together: $url ...READ MORE
Hello @kartik, You cannot TRUNCATE a table that has FK ...READ MORE
Start with simply typecasting the line:- $array = ...READ MORE
To solve your doubt, use the following ...READ MORE
If I have understood your question right, ...READ MORE
You don't have to do this, since ...READ MORE
Hello @kartik, Try $_SERVER['DOCUMENT_ROOT'] contains this path: D:/workspace In that case you ...READ MORE
Hello @kartik, Try this: str_replace('"', "", $string); str_replace("'", "", $string); Otherwise, ...READ MORE
Hii, Try this: require_once("./pdf/dompdf_config.inc.php"); $files = glob("./pdf/include/*.php"); foreach($files as $file) include_once($file); $html ...READ MORE
Hello @kartik, You shouldn´t use client javascript to ...READ MORE
Hello @kartik, Store it either in a cookie or ...READ MORE
Hello @kartik, Try this: <?php echo "http://" . $_SERVER['SERVER_NAME'] ...READ MORE
For (PHP 4 >= 4.0.3, PHP 5, ...READ MORE
Hello @kartik, Your MySQL binaries should be somewhere ...READ MORE
Hello @kartik, edit these two lines in /etc/php.ini (or wherever ...READ MORE
Hello @kartik, This is because a static variable ...READ MORE
Hello @kartik, Use JSON to transfer data types (arrays and ...READ MORE
Hello @kartik, You need to place the \n in double ...READ MORE
Hello @kartik, Using if( $ext !== 'gif') might not ...READ MORE
Hello @kartik, Depending on your flavour of Linux ...READ MORE
Hello @kartik, Try this: <a href="./directory/yourfile.pdf" download="newfilename">Download the pdf</a> Where newfilename is ...READ MORE
Hello @kartik, In javascript, make an ajax function, function ...READ MORE
Hello @kartik, Something is clearly corrupt in your ...READ MORE
Hello @kartik, You can use the URL facade ...READ MORE
Hello @kartik, Firstly create an object, Then set ...READ MORE
Hello @kartik, CodeIgniter has some error logging functions ...READ MORE
Hello @kartik, It's trying to run it as ...READ MORE
Hello @kartik, Try below code snippet if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) ...READ MORE
Hello @kartik, Use $.ajax to call a server context (or ...READ MORE
Hello @kartik, Try; $data = json_decode(file_get_contents('php://input'), true); print_r($data); echo $data["operacion"]; From your ...READ MORE
Hello @kartik, Use SERVER_NAME. echo $_SERVER['SERVER_NAME'] ...READ MORE
Hello @kartik, Just pass it like a normal ...READ MORE
Hello, You have to follow the below steps: bind-address ...READ MORE
Hello @kartik, Replace TYPE=MyISAM with ENGINE=MyISAM The problem was "TYPE=MyISAM" which should ...READ MORE
Hello @kartik, Go to: xampp\phpMyAdmin\libraries\config.default.php Look for : $cfg['ExecTimeLimit'] = 600; You ...READ MORE
Hello @kartik, You need to have a module ...READ MORE
Since Composer works with the current working ...READ MORE
Hello, Try this : echo exec('ping -n 1 -w ...READ MORE
Hello @kartik, You can change Apaches httpd.conf by ...READ MORE
Hello @kartik, I found the answer: $mail->AddEmbeddedImage('img/2u_cs_mini.jpg', 'logo_2u'); and on ...READ MORE
Hello @kartik, Enclose any string to be passed ...READ MORE
Hello, For deleting thumbnails you have to enable ...READ MORE
Hello @kartik, It seems that you need scandir instead of ...READ MORE
Hii, I would use isset and empty: session_start(); if(isset($_SESSION['blah']) && !empty($_SESSION['blah'])) { ...READ MORE
Hello @kartik, Use this: echo '<pre>'; var_dump($_SESSION); echo '</pre>'; Or you can ...READ MORE
Hello @kartik, You can send mail from localhost ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.