39,326 Topics

Member Avatar for
Member Avatar for mattyd

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. …

Member Avatar for nauticalmac
0
193
Member Avatar for CraigWinder91

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 …

Member Avatar for diafol
0
181
Member Avatar for Amr87

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 …

Member Avatar for Amr87
0
208
Member Avatar for saadi06

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. …

Member Avatar for diafol
0
84
Member Avatar for ngonix

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 …

Member Avatar for PcPro12
0
1K
Member Avatar for chrisschristou

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" …

Member Avatar for chrisschristou
0
3K
Member Avatar for chrisschristou

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 …

Member Avatar for chrisschristou
0
338
Member Avatar for DjFumon

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" />';

Member Avatar for DjFumon
0
152
Member Avatar for Zahid_4

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 …

Member Avatar for Zahid_4
0
313
Member Avatar for hriti
Member Avatar for chrishea
0
85
Member Avatar for prem2

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 …

Member Avatar for cereal
0
990
Member Avatar for leadcrumb

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 …

Member Avatar for nauticalmac
0
485
Member Avatar for DjFumon

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" …

Member Avatar for cereal
0
421
Member Avatar for marifard

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 …

Member Avatar for nauticalmac
0
364
Member Avatar for onsponge

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 …

Member Avatar for nauticalmac
0
152
Member Avatar for hriti

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 …

0
85
Member Avatar for Mohamed_26

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 …

Member Avatar for Mohamed_26
0
175
Member Avatar for nidhinmohanan

<?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 = …

Member Avatar for nauticalmac
0
158
Member Avatar for RascelleGrepo

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. …

Member Avatar for nauticalmac
0
3K
Member Avatar for RascelleGrepo

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 …

Member Avatar for RascelleGrepo
0
262
Member Avatar for mattyd

*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 …

Member Avatar for mattyd
0
277
Member Avatar for Mohamed_26

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 …

Member Avatar for cereal
0
4K
Member Avatar for noel9

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

Member Avatar for Pinaci
0
128
Member Avatar for Mits#
Member Avatar for dinhunzvi

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.

Member Avatar for pritaeas
0
153
Member Avatar for FaheemSajid

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 …

Member Avatar for FaheemSajid
0
375
Member Avatar for Mohamed_26

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 …

Member Avatar for Mohamed_26
0
307
Member Avatar for Nadeem_2

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 …

Member Avatar for cereal
0
409
Member Avatar for Abdul Waseem

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; …

Member Avatar for Bachu
0
5K
Member Avatar for Iikeloa

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 = …

Member Avatar for broj1
0
316

The End.