39,320 Topics

Member Avatar for
Member Avatar for Some-Jackass

Hi all. I have a PHP script that reads my email inbox via POP3. I'm using the PHP IMAP extention. I can already access the "From" and "To" fields. What i'm having trouble with is accessing the Cc field. I need to read/count/summarize all the email addresses and draw up …

Member Avatar for Some-Jackass
0
186
Member Avatar for javedsai

Hi All, I'm trying to hide php extension using **.htaccess** and it works but, I also want to show custom error page when, somebody enters url which is not exist. The code is mentioned below :- RewriteEngine on # Rewrite /foo/bar to /foo/bar.php RewriteRule ^([^.?]+)$ %{REQUEST_URI}.php [L] # Return 404 …

Member Avatar for javedsai
0
355
Member Avatar for onsponge

Hi, Firstly, forgive us for posting such noob question, we are still new at PHP/web development. We are not sure what's the proper approach for the problem we are working on. Basically we are building a system where user could program their hardware board online: The user will upload their …

Member Avatar for cereal
0
208
Member Avatar for ebanbury

Hi How do I strip the </ br> from the database when a carriage return is entered into the text area by a user? I get something like this: hello<br /> <br /> hello<br /> <br /> hello In addition when using the php mail() function, the text area also …

Member Avatar for nauticalmac
0
390
Member Avatar for shella

Hi there! First of all Happy New Year to all the community. I just update the wordpress at the 3.8 version and a pair of codeline I wrote don't work now. Actually I call the database in a new table I created to have back some data but if yesterday …

Member Avatar for pritaeas
0
105
Member Avatar for danimischiu

Hello, I'm trying to get a website source with a curl call but some data is missing and I don't know what I'm doing wrong. If i make a call to the url in browser in the page source will apear "<!-- request captchas: blabla -->".. but after I call …

Member Avatar for pritaeas
0
156
Member Avatar for abhilashrajrs

I have database with Name, email, joindate and my Query is $name=$_POST['txtname']; $email=$_POST['txtemail']; $date = date("Y/m/d"); INSERT INTO member (name,email,joindate) VALUES ('$name', '$email', '$date') What should be the output query to get all data by month?

Member Avatar for pritaeas
0
238
Member Avatar for muralisugu

Hi i want show the image in php i connected the database i show the images it is comming this type of code ccccccccccccccccccccccccccccccccccccccccccccccÿÀx "ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*5 i put in header("content-type: image/jpeg") is show only img symble. any persong know that code please update,,,

Member Avatar for pritaeas
0
76
Member Avatar for thilipdilip

HI: I'm new to prstashop developement Enviroinment. In Prestashop I have created on module, In that I want to create a page and need to place the link in user dashboard once the user was logged in this link will be display in user dashboard, how to do this. Thanks …

0
168
Member Avatar for davy_yg

Hallo, How to trim content? I would like to show only the first 30 letters of this content. This is what I have so far: include('include/con_database.php'); $result = mysql_query("SELECT * FROM dynamic_content WHERE id='124'"); while ($data = mysql_fetch_array($result)){ echo '<div id="text">'.$data['content'].'</div>'.'<br>'; } Thanks before.

Member Avatar for davy_yg
0
301
Member Avatar for singularity~

I have no idea why I cannot get jquery to parse a JSON array from a PHP server side call. Here is my jQuery $.ajax({ type:"POST", url:"/Home/Profile/cb_profile.php", data:{loadProfile: JSON.stringify(itemsToPost)}, success: function(data){ var returnedItem = $.parseJSON(data); }, error: function(e){ console.log("We've had a error"); }, }); Here is my PHP if(isset($_REQUEST['loadProfile'])) { …

Member Avatar for Dani
0
356
Member Avatar for chrisschristou

hello friends. like the question title i want add function to my jquery script when a user choose a option of select html form field to calculate a totoal price. here is my script and the html form field THE FIELD <option value="0" selected="selected">Shipping</option> <option value="0">0.00</option> <option value="9.80">9.85</option> <option value="19.60">19.80</option> …

Member Avatar for chrisschristou
0
165
Member Avatar for Dragon840215

Ok so i an very new to this site and am trying my luck with PHP. Got a great idee to make some cash but now to implement it is a whole new game for me. I want to keep the selceted value of the select box after the form …

Member Avatar for Dragon840215
0
2K
Member Avatar for subrata_ushasi

Dear All , In my website there is an inputbox . When I click on it ,light box will be opened where list of products and its product is will come from database . Now when I select any product ,this product come(ie visible ) in my inputbox. Here is …

Member Avatar for nauticalmac
0
235
Member Avatar for shaswata.shaha

I am a computer science graduate and want to learn web application development. I have learned HTML,CSS and JavaScript. I have knowledge of Oracle and medium knowledge of C++. Now I want to learn a server side scripting language. I am really confused what language should I learn. Personally I …

Member Avatar for nauticalmac
0
210
Member Avatar for davy_yg

Hello, Cek this: [Events](http://rustoleum-indonesia.com/Events.png) Those event news will be added through the admin CMS. I wonder how to create the link pages? What should I name it? It seems like everytime I input a new event news I have to create a new php file. Any idea?

Member Avatar for davy_yg
0
140
Member Avatar for ASHIQUE

Good day, I need help with my ajax based dynamic drop down list. Right now, ajax.php pulls up data depending on value at a single column. I need it to pull up data based on value at certain columns. I am new to php and its going over my knowledge. …

Member Avatar for pritaeas
0
369
Member Avatar for AARTI SHRIVAS

hello all i have to work in joomla virtuemart for my client he wants to give discount on products in some other manner there are 2 category of products 1stcategory and 2nd category now 2nd category have more sub category and sub-sub category now i what client want that when …

0
291
Member Avatar for chronosdevata

Can anyone recommend me an API for travel booking that includes flight and hotel fares worldwide? I already searched through the internet but found nothing (some, but doesn't exactly fit my needs). And also have searched several discussion that couldn't bring me anywhere such as; http://blog.programmableweb.com/2012/02/28/134-travel-apis-kayak-yahoo-travel-and-hotelscombined/ What travel sites release …

Member Avatar for diafol
0
142
Member Avatar for Mohamed_26

Hello Everyone, I have written code to create Temporary Table using PHP script. Now, when I run the script, it seems to have created the temporary table. Now, my problem is when I try to do INSERT statement in PhpMyAdmin into the temporary table I create, I am getting an …

Member Avatar for Mohamed_26
0
3K
Member Avatar for Iikeloa

Hi I wrote this code and I hope that you can tell me what is wrong with it .! $sql = "INSERT INTO offers (title,description,location,type,status,img,real,username) VALUES('".$title."','".$description."','".$location."','".$type."','".$status."','".$img."','".$real."','".$username."')"; $query = mysql_query($sql) or die(mysql_error()); The error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL …

Member Avatar for Iikeloa
0
176
Member Avatar for Borderline

Afternoon I set up a substring on the raceid column of my database; the raceid column consists of the season+individual race number, to produce a unique id number. Image of the database below - my code was doing what I expected (hoped for?!) and outputting the four digit season. http://www.arabianraceform.co.uk/form/horses/dbimg.jpg …

Member Avatar for Borderline
0
156
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
192
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
207
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
336
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
151

The End.