52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for diafol

Hi All. Have been messing around with PDO for a while, but have come across a bit of a quandry. I like the prepare - execute method for fetching data, but I needed to check if an update query actually did update or not. Now not having mysql_affected_rows() to hand, …

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for momonq1990

how can i send mail with working .gif, .png and background color using mail()function. what i need to set? i have $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; pls help what i need to do :(

Web Development email html-css image php
Member Avatar for momonq1990
0
187
Member Avatar for rpv_sen

Hi i want to know, how to display the datas simultaniously in twitter and in my webpage. Example: If i am posting one article in my cms, it will also post in my twitter account. Please can any one help me to solve this issue.

Web Development cms display php social-media
Member Avatar for pritaeas
0
294
Member Avatar for geneh23

Hey everyone, So I have another admin redirect problem. I have a file for user functions and login check/if exists..ect so the other redirect set of PHP paramaters won't work and all I want to do is redirect a user to access a page based on user_level. Whether the user_level …

Web Development php session
Member Avatar for geneh23
0
614
Member Avatar for akashbarot51

My requirement is, when i press on button 1)it should check whether the textbox is blank it should show alertbox to enter value and stay on that page. 2)if value is correct than check value and display message on next page. i have developed two files they are as following. …

Web Development display php
Member Avatar for ome2012
0
202
Member Avatar for gamebits

Well I know how to upload image (.gif, .jpg, etc) resized, resample, add link to database fetch link and display images on webpage. But now I need to be able to upload documents on server, add link in the database and be able to display those documents on the web, …

Web Development pdf php web-browser
Member Avatar for yats123
0
482
Member Avatar for garyjohnson

I recently had an accoutn with godaddy and found they did not support FFMPEG so I cancled that account, now I want to use a local server on my computer for testing so I do not have to pay for hosting. My question is how do I get a Mysql …

Web Development client-server web-server
Member Avatar for garyjohnson
0
137
Member Avatar for Djmann1013

I am having trouble with this code: <!DOCTYPE html> <head> <title>AJAX Chat Test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- Script --> <script src="jquery.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready( function(){ $("#chats").load("feed.php"); $("#post").submit( function(){ return false; } } ) ); </script> </head> <body> <!-- Messages display here --> <div id="chats"></div> <!-- Post the …

Web Development javascript javascript-jquery
Member Avatar for Djmann1013
0
145
Member Avatar for Web_Sailor

Hi :-/ I have a java function that I want to call inside my JSP page. My function has got parameters.Now the problem is I cannot call it using JavaScript and if I put it inside <% %> tags it just executes while loading the webpage itself. I need to …

Web Development java java-jsp
Member Avatar for hessah1986
0
205
Member Avatar for vishalonne

Hello When I click on Register button I get this error - Message: Object expected Line: 20 Char: 1 Code: 0 URI: http://localhost/goodlogin/registerform.php This is my registerform.php code - <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>register</title> <script type="forms.js" type="text/javascript"></script> <script type="sha512.js" type="text/javascript"></script> </head> <body bgcolor="black" style="color:white;"> <FORM ACTION="register.php" METHOD="POST"> <h1>welcome …

Web Development php
Member Avatar for LastMitch
0
169
Member Avatar for mmcdonald

Hey all, I have a folder called 'templates' in my root dir (../templates/). When a PHP form is submitted I want to copy a folder out of 'templates' called 'template1' (../templates/template1) and paste it into the root directory but with the new name of 'username123'. How can I copy, rename …

Web Development php
Member Avatar for mmcdonald
0
416
Member Avatar for Buppy

Hello, I have a lot of files uploaded with wp-admin in uploads folder. I don't have access to FTP, however, I need to download those files stored in uploads directory. Is there a way of doing it? Like - a wp plugin or something. Thanks

Web Development php wordpress
Member Avatar for ckchaudhary
0
127
Member Avatar for godzab

I am just trying to submit two input fields, username and password. I am not able to do that because my code won't submit my data to the PHP database. The code is below, also please note I am trying to use ajax: getData.php <?php $db = mysql_connect('localhost', 'wont tell', …

Web Development mysql php
Member Avatar for Clanstrom
0
228
Member Avatar for andyy121

hi everybody i just need to know what is the function of preg_split and that which is inside of brackets: $keywords = preg_split ('/[\s]+/',$keywords);

Web Development php regex
Member Avatar for andyy121
0
158
Member Avatar for LastMitch

Hi I want to know the if `GD2` run the same as `JQuery`? For example for `JQuery` you need this: `<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>` for the code to run. But for `GD2` you need a package but I haven't download it yet. I just want to know the **Pro** and **Cons** between …

Web Development javascript-jquery php
Member Avatar for LastMitch
0
119
Member Avatar for mmcdonald

I'm hoping not to post much code (to do this myself) but I'm having issues in figuring out why a mysql_query isn't be executed. This is the mysql_query: mysql_query("UPDATE `servers` SET `status` = 'online.png', `cur_players` = '".$online_count."', `max_players` = '".$max_slots."', `software` = '".$software."', `plugins` = '".$plugins2."', `players` = '".$players2."', `version` …

Web Development php
Member Avatar for mmcdonald
0
276
Member Avatar for techyworld

hi i have a sound control on my website, i need to put a condition to check, when the xcoordinate is increasing, the sound volume increase and if xcoordinate is decreasing, sound volume decrease. I'm having trouble to set this condition, i dont know how to put this. Can you …

Web Development javascript
Member Avatar for techyworld
0
108
Member Avatar for mktrx

Hi all, hope you are having a better day than I am... I am trying to write the results of a search of text using preg_match_all to a database... First thing I need to do is write the results of the search to an array (which preg_match_all does)... It writes …

Web Development php regex
Member Avatar for mktrx
0
108
Member Avatar for kitschkath

Hi, After two weeks of not touching my web codings. PHP just gave me tons of surprises. I'm confused. I don't know what happened but I have this page entering a new category: <form name="new_category" action="savenewcategory.php" method="post"> <input type="text" name="category" size="30"><input type="submit" value="Add"> </form> savenewcategory.php <?php $con=mysql_connect("localhost","root"); mysql_select_db("cart0902",$con); $category=$_POST['category']; $sql="insert …

Web Development php
Member Avatar for kitschkath
0
253
Member Avatar for plmexico79

im trying to understand to create a form that process in php but shows the erros in ajax. heres a sample of something i want [Click Here](http://php4every1.com/demos/ajaxSubmit/), i already understand some jquery but not everything , like when i create a form in html do i had to create a …

Web Development javascript javascript-jquery php
Member Avatar for pritaeas
0
346
Member Avatar for anevins

Hello, I can't use CURL, $ch = curl_init(); I get the error > Fatal error: Call to undefined function curl_init() I've used `phpinfo()` and found the php.ini directory, > Loaded Configuration File D:\wamp\bin\apache\apache2.2.22\bin\php.ini I've then edited the php.ini file from that directory and removed the semi-colon in-front of extension=php_curl.dll Restarted …

Web Development apache php
Member Avatar for anevins
0
9K
Member Avatar for dancks

I'm a noob, I know very little about php. Anyway, my page won't load at all, browser says its redirecting in a way that is not loading. As the title suggests I think the issue is with one of the php files I include with require_once(). Let me just show …

Web Development html-css javascript-jquery php
Member Avatar for dancks
0
300
Member Avatar for raj-uk

Hi Friends <script type="text/javascript"> $(window).ready(function(){ $("#calendar").smoothPhpCalendar({minimumDate : new Date('01-12-2016')}); }); </script> can can i set min and max on this calander. please advise

Web Development php
Member Avatar for diafol
0
174
Member Avatar for samith.dilhara

here is the code <div id="test"> <input type="text" name="textfield" /> <div> `$('div#test').html()` render like this along with endtag for `/>` <input type="text" name="textfield" ></input> how can i render it like below <input type="text" name="textfield" /> thanks in advance..!!

Member Avatar for Airshow
0
192
Member Avatar for sanjeewa.abeywardana

What is the best and fun way to learn Web Service in .NET plaform ,that can apply to real production environment? Anybody knows good projects to refer under codeplex site.. Or may be somewhere else

Web Development asp asp.net
Member Avatar for sanjeewa.abeywardana
0
243
Member Avatar for shyleshs

Please solve this problem i am new to asp.net programming using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; public partial class NewUser : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void TextBox4_TextChanged(object sender, EventArgs e) { } protected …

Web Development asp asp.net
Member Avatar for HunainHafeez
0
1K
Member Avatar for sanjeewa.abeywardana

What is the best and fun way to learn Web Service that can apply to real production environment? Any web site or sample projects are always welcome. I would always like to learn quick too so any videos are also welcome

Web Development php
Member Avatar for pritaeas
0
218
Member Avatar for cokerz_written

I have 3 file : 1. index.php 2. form.php 3. validasi form i have a problem if I include file form.php into index.php, why if I included form.php into index.php all field that I fill is inserted to database, but why only field picture is not inserted to database. but …

Member Avatar for cokerz_written
0
134
Member Avatar for krishanpal.singh.9615

I built a simple ASP.NET website which has a menu with all the page URLs linked to each menu item. when I click on a menu item the page URL appears in address bar like "http://mywebsite/xyz/webform1.aspx". I would like to hide this page url and instead show only URL of …

Web Development asp.net
Member Avatar for JorgeM
0
172
Member Avatar for momonq1990

Hello to all! please help me to my project. how to make a auto reply using php code and what exactly i need to do? i have simple php code and i think the code is working but theres no receive mail.. auto reply is not working. pls help :(

Web Development php
Member Avatar for momonq1990
0
619
Member Avatar for mart4494

Hi everyone. I've been using dbmasters formm@iler.php for the past couple of years without any problems. No great credit on my part as I'm a complete dummo when it comes to PHP. In this case the script just worked out of the box so to speak. Recently a number of …

Web Development php web-browser
Member Avatar for Bachu
0
141
Member Avatar for Riu 2009

Hi everyone iam doing my final year project and i want to allow my instructor module to upload video lectures, audio lectures and presentation slides as well as images and text file in the courses and for lowering the load i want to upload these via youtube, flickr, vimeo, slideshre …

Web Development audio multimedia php
Member Avatar for pritaeas
0
105
Member Avatar for waseem.usman.92

i want a design and develop a web page which will show the current time on the basis of the request. eg if the request of the page is come from dubai then the server automaticaly finds the current time of dubai and writes that time on the page. similarly …

Web Development php web-design
Member Avatar for diafol
0
249
Member Avatar for napninjanx

Okay so a person creates 500 blog sites with his server etc etc. And Is it possible for the person to make a single post? For all the 500 blogs? Like for example I wanna make a photo post about this awesome photo I have, about Tree's So It's one …

Web Development first-post
Member Avatar for lucyrai1
0
98
Member Avatar for mart4494

Hi All - am using dbmasters formm@ailer for some time - no problems until recently. We require the engine size to be completed in cc. This has not been a problem until recently when we are often receiving a 'X' in the field. I'm stuck with Javascript. PHP extract as …

Web Development javascript php web-browser
Member Avatar for pritaeas
0
134
Member Avatar for HelloJarvis

Hi guys, I'm working on a little script that generates all combinations of a given input string. My problem is, it's generating the combinations perfectly fine (I checked with an echo), but not inserting them in to an array. Here is my code: function check($width, $position, $base_string, $charSet) { $combinations …

Web Development php programming-construct
Member Avatar for Bachu
0
166
Member Avatar for jeconje

Can anyone help me on how to store checkbox values in my database? I have a site which is a student registration form and I need to store his/her interest/s in my database. Interest/s are my checkboxes which contains sports, music, entertainment and adventure. Please help me! Thanks!

Web Development php
Member Avatar for jeconje
0
254
Member Avatar for johndohmen1963

How can i str_replace / with _ the folowing is not working $gemeente = str_replace ("/", "_", $gemeent); Thanks in advice John

Web Development php
Member Avatar for johndohmen1963
0
103
Member Avatar for kings

[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function login(t) { var t = '<?php echo $id; ?>'; alert(t); } --> </SCRIPT> </head> <body> <?php $id=$_GET['id']; print "<input type='button' name='button' value='button' onClick='login('$id')'>"; ?> </body> </html> [/CODE] i want to alert the variable using onclick function.

Web Development javascript php
Member Avatar for vkey
0
1K
Member Avatar for techyworld

Hi i need to display a number of images on my website. All the images are in a folder. how can i do it using an array?

Web Development display javascript
Member Avatar for techyworld
0
89
Member Avatar for LastMitch

Hi, This is the first script that I trying to read and learn how it function. I not very familiar with `JQuery`. I'm more in `PHP`. But I notice other members know other languages beside `PHP`. So I'm trying to do what other Developer are doing which is knowing another …

Member Avatar for LastMitch
0
457
Member Avatar for gilgil2

Hi I am trying to get my a paypal system working, where users pay for a product and the information is then stored in a database. I had it working but it has now stopped entering the information into the database and I am not sure why. One reason I …

Web Development php
Member Avatar for LastMitch
0
373
Member Avatar for xxhaissamxx

hi i'm new to php and i have problem with header i try to redirect to home page but when i use header nothing happend i tried it in anther page and work but i don't know why it don't work here <?php session_start(); ?> <?php ob_start();?> <form action="index.php" method="POST"> …

Web Development php session
Member Avatar for xxhaissamxx
0
152
Member Avatar for cssweb

hello how are you guys i am a new member here and want your assist and this is the first topic for me the question is how can i use <ol><li></li></ol> in while as this <table width='100%' border='1'> while ($row=mysql_fetch_object){ echo " <tr> <td>$row->name</td> /tr>"; } </table> i want to …

Web Development html-css php
Member Avatar for cereal
0
130
Member Avatar for sidd.

Hi team, I have a index.html file and a login php plugins([Click Here](http://tutorialzine.com/2009/10/cool-login-system-php-jquery/.) But am not sure how to include it in Index.html script. May the question is very silly. But,I just started learning about web development. I know the basics but practical wise no experience. Please advice the steps. …

Web Development html-css php
Member Avatar for sidd.
0
258
Member Avatar for rotten69

Hey everyone, I'm just wondering how the read more feature is achieved in PHP. It is like facebook where it displays a couple of lines then if you're interested in reading more about the status or article click 'read more link' which expands the box. Cheers,

Web Development javascript mysql php
Member Avatar for JorgeM
0
148
Member Avatar for code739

hi fellas, Im using javascript framework in uploading image via ajax but the problem is $_FILE is empty here s my code: <form action="upload.php" method="post" enctype="multipart/form-data" id="upload" name="upload"> <input type="file" name="file" id="file" style="border:none"/></center> </form> js var url = 'upload.php'; new Ajax.Request(url, { method: 'post', contentType: 'multipart/form-data', encoding: 'UTF-8', parameters: $('upload').serialize(true), …

Web Development file-system javascript php
Member Avatar for LastMitch
0
153
Member Avatar for garyjohnson

What is the PHP extension to connect to mysql? I have installed them using wamp sever and they are not connecting because they dont have the extensions, where can I get the extension?

Web Development mysql php
Member Avatar for LastMitch
0
145
Member Avatar for mmcdonald

$plugins = $Server->Get('plugins'); echo "<br /><br /><b>Plugins</b><br> "; foreach($plugins as $plugin) { echo $plugin."<br>"; } That snippet above spits out a long list of plugins from a server. How can I store each plugin listed into SQL so that its stored as '$plugin[0]<br/>$plugin[1]<br/>$plugin[2]<br/>' and so on so that when I …

Web Development php sql
Member Avatar for mmcdonald
0
145
Member Avatar for mo_anees
Member Avatar for pritaeas
0
151

The End.