39,326 Topics
| |
I am still working on the redirection issue (As noted in a previous thread here). I think I may have found a nice solution via a video tutorial on the subject. When running this test script, it should simply load google.com; The result though is a "Page not found" screen. … | |
Hi there, I am getting the following error. Could you review my code and help me as to why? I am using the mod_rewrite extention also. Notice: Undefined index: in /var/www/incpages/mylines.php on line 48 <?php if( basename( __FILE__ ) == basename( $_SERVER['PHP_SELF'] ) ) { exit(); } include("includes/config.php"); if ($maintancemode … | |
Give that array I want to use the random string attached to the tab-title and tab content keys which are rEXMp and 3T2IV respectively , I want to use those to split the array into two arrays and getting rid of these characters in the new array and also add … | |
Hi, I have a question. I am trying to save some data in a text field in database and I want to convert whatever text data that is presend in the field to an audible wav file format. Is there any way in php we can achieve this or not. … | |
Hello, I have an issue with my ajax script. Basically I want to be able to stop a php script from executing when I click on the Cancel button of the Confirm Dialog box. Here are the code snippets for my application: policy.html: .... $(document).ready(function(){ $('#process').click(print_check); }); function print_check(){ var … | |
hello friends i want to creat a calculator in my form for calculate total price in real time for exemple" total field = price field + quantity field" my form is a html form and price value is php value <form action="" method="post" name="formulaireajout" class="formulaireajout" id="formulaireajoutid"> <input name="price" type="text" id="pricefield" … | |
Hello and mery christmas and happy new years. on my site i would like to create a simple php/mysql shopping cart use html form to insert product in shopping cart table. with the help on forum i created a md5 hash it generate beatyfull code... every time when i click … | |
hello, i need help to scrape the image of the movies from http://www.yaske.to/es/pelicula/0003735/ver-you-39-re-next-online.html i have this but not works fine: $jm_anime_imagen = cut_str($pagina, '<meta property="og:image" content="', '" />'); $imagen = str_replace("http://yaske.to/upload/images/", "", $jm_anime_imagen); copy($jm_anime_imagen, 'imagen/'.$imagen); echo '<img src="http://www.masfriv.com/imagen/'.$imagen.'" width="148" heigth="220" />'; | |
Hi, I want to build a web application for customers to run on their local servers on their computers offline. I want that my code logic be protected and no one can edit and use my code without my permission. Even administrator(client) of that application don't have permission to edit … | |
is it possible to add any font in ckeditor?? if yes then how??? | |
Hi, I have recently getting the follwing error when using soap in my php. Fatal error: Class 'SoapClient' not found My php version : PHP 5.4.19 (cli) Installed: php-soap.x86_64 0:5.3.3-23.el6_4 Currently using centos $client = new SoapClient('https://sandbox.cashu.com/merchants/cashUPayments.wsdl',array("trace" => 1)); Kindly, let me know how to fix it out. I have … | |
| Wordpress - I want to use a title condition for displaying info on a page, from a MySQL table "country". The condition must compare the title with the names in the column "name" and when it match a value than display on the page the text from column "description" from … |
Hello, i have this code for extract the categories of the movies in one site: <?php $jm_anime_genero = cut_str($pagina, '<tr> <td width="133" align="right" valign="top">Genero : </td> <td width="329" align="left" valign="top">', '</td> </tr>'); echo $jm_anime_genero; ?> this is the original source: <tr> <td width="133" align="right" valign="top">Genero : </td> <td width="329" align="left" … | |
Dear, I make a php page to upload the images, pdf, swf etc etc for specific orginisation entered in same form. In the form i made the input type files to upload a maximum of three files but i know how to upload one of them only. here i upload … | |
Hi. I am relatively new to PHP and Joomla. Basically I am building a website which allows registered users to login and use the online services that we provide. I would like to know if its possible to achieve the following: 1)Allow only one user at a time to access … | |
hello i have a problem if anyone can solve it please help me... i have a page from which i get type on left side of page from refrence page...and when i click any one of the reference it shows list on same page regarding to that reference when i … | |
Hello Temporary table is not being deleted once the connection is closed. I am not sure if the code is used correctly. Because when I run the code it just says table not found. SO, i had to create a table manually and then it worked. Thank you <?php $hostname … | |
<?php ob_start(); require( 'fpdf.php' ); $pdf = new FPDF(); $pdf->AddPage(); $pdf->Open(); $con = mysqli_connect( "localhost", "root", "", "my_db" ); // Check connection if ( mysqli_connect_errno() ) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $result = mysqli_query( $con, "SELECT * FROM Persons" ); while ( $row = … | |
Hello. I am having a hard time in figuring out how to view the pdf file after uploading it in your system. My plan is retrieved PDF files that is stored in mysql database and display them in the browser when the user click the view button. please help me. … | |
I am having a problem on notifying the user when he/she submit a empty form. When I submit an empty form, the system doesn't notify or alert the user that the form is empty. And when I put a title and I leave the content textbox empty its still add … | |
*I apologize if this has already been asked/answered* I am have trouble with this, although I imagine the solution is rather simple: 1. User completes form and submits 2. Page either reloads displaying User-entered data *or* redirects to a *new* page displaying said data for User I have been trying … | |
I am getting this error. This is my code Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /studhome/0/1104107/public_html/mysql_connect.php on line 33 I HAVE NO IDEA WHAT I AM MISSING!!!!!!!!!!! <?php $hostname = "localhost"; $username = "1104107"; $password = "r940c1"; $database = "db1104107"; //echo '24'; //connection to the … | |
hieee i want to develope email system for my project so which free email server and email client should i used it should be scalable please help.... thnkss in advance | |
I have change system time then after displaying time an displayi correct time | |
how do i write a regular expression to validate user input to ensure that the user input contains 1 digit, a space and any number of letters. | |
Hi! I am facing a problem that i have redirected a website to the new one in htaccess but google webmaster is showing the "Links to Your Site" problem in webmaster and according to my knowledge this problem is very critical and serious. Is there any solution to get rid … | |
Hello Everyone, I have to create a temporary table for basket. I have to include certain fields from different table. Now I know the code to create a temporary table "CREATE TEMPORARY TABLE", is that right? But I dont know how to choose different fields from different table. Let me … | |
Hi folks I want to universal website crawler using PHP, so my crawler will work on any given site. By using my web application, user will input any site, will provide input, what he needs to get from given site and will click on Start button. Then my web application … | |
Read first row from csv file and create table automatically according to it(csv file fields) in mysql. Looking for PHP script? I have tried this. <?php $arr = array(array(),array()); $num = 0; $row = 0; $handle = fopen("./contacts.csv", "r"); while($data = fgetcsv($handle,1000,",")){ $num = count($data); for ($c=0; $c < $num; … | |
Hi I have this code and the code is working very well but I have an error : Notice: Undefined index: id in /var/www/core/myaccount.php on line 9 Here is my code: <?php session_start(); require_once('inc/config.php'); require_once('inc/header.php'); require_once('inc/functions.php'); login(); if(!$_GET['id']) { header("Location: index.php");} switch($_SESSION['id']) { case $_GET['id']: $id = $_GET['id']; $query = … |
The End.