39,320 Topics

Member Avatar for
Member Avatar for Fiorentino01^

Having problems with a malware I had to reinstall Win7 OS with recovery mgr.After I had to reinstall all my web development tools such as Visual Basic Express 2008, Visual Web Developer Express 2010, SQL server express 2008, MySql, Workbench.I cannot reinstall PHP and PhpMyAdmin no matter what I try. …

Member Avatar for Fiorentino01^
0
257
Member Avatar for kindo

Please help with this...say we have few subdomains domains on same server. blog.robots.com chat.robots.com forum.robots.com forum.robot.com generates the session id of a user. I want to share this session id with other domains....blog,chat... All for the purpose of not letting the user login twice on this domain How can I …

Member Avatar for broj1
0
221
Member Avatar for roxanne.martos

Hi i am reworking on my password security on the register page so far it is okay apart from the fact that im getting this error: Fatal error: Call to a member function create() on a non-object ` $bcrypt = new Bcrypt; try { $email1->create(array( ` 'username' => Input::get('username'),` 'password1' …

Member Avatar for roxanne.martos
1
220
Member Avatar for malatamil

i have a pagination code but that one is for single page,becaz in that url was changed. so if i add 2 or 3 pagination in single page that url was not changed. someone help me

Member Avatar for ko ko
0
892
Member Avatar for prem2

Dear team, I am facing difficulties to validate the below format. I want regular expression needs to be satisfied with the below condtion. $pattern = '/^\w[\w\s\.\%\-\(\)\[\]]*$/u'; $file_name = "(00)filename.jpg"; if(preg_match($pattern,$file_name)){ echo "Pattern matched"; }else { echo "Pattern not matched"; } I have tried several ways. But, the main problem is …

Member Avatar for ko ko
0
280
Member Avatar for nadiam

hi guys so this page where part of the form elements are made arrays by adding square brackets to the input names. the reason i did that is because that part of the form is handled in jquery [this post(my post about jquery)](http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/478800/show-form-elements-based-on-dropdown-value) if you take a glimpse will understand …

Member Avatar for diafol
0
275
Member Avatar for mark103

Hi guys, I need your help. I have .xml file in download directory on my server. whoever visit my site page (Myxmlfilename.xml) user should be able to download these files and other files should not. I am trying to achieve above but no luck... does anyone know how I can …

Member Avatar for cereal
0
190
Member Avatar for kumar89hitesh

how to edit in the post in php? i m using update query but no working? can anyone suggest me any idea and please give me suitable example

Member Avatar for diafol
0
242
Member Avatar for Yousef Altaf

I have this form to send an email and the visitor can send an attachment with his email as will everything gos well the email sent but the attachment comes to the email like this if he uploaded any C.V the C.V will be attached to this Email --_1_c4fe3315ccb7d6076c71d64ec5265ecc Content-Type: …

Member Avatar for malatamil
0
151
Member Avatar for ravi142

Hello I faced this type of Error in codeigniter. Can you suggest me any solution... *ERROR : You must use the "set" method to update an entry.* In Model Code is.. $this->db->where('user_id',$user_current_id); $this->db->update('admin_resume_expertise',$data); Thank YOu

Member Avatar for krishnanair
0
179
Member Avatar for DLO2418

Simple JSONReader code not working I am trying to use JSONReader (along with PHP & XPATH) to parse a very large JSON file, then display search results. A stream parser (such as JSONREader) is recommended over JSON_decode when parsing large files. This simple code below is not displaying any results …

Member Avatar for diafol
0
425
Member Avatar for gazem

hi there ; I want to search for student from my database using select method , like you choose the ID then it shows ID search Textbox and go on ... how can i do it

Member Avatar for [NOPE]FOREVER
0
102
Member Avatar for Ashok_121284
Member Avatar for Rakesh_8

i have a registration form which code are below <html> <head> </head> <body> <table width="350" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><form name="form1" method="post" action="user_reg_get.php"> <table width="100%" border="0" cellspacing="4" cellpadding="0"> <tr> <td colspan="3"><strong>Sign up</strong></td> </tr> <tr> <td width="76">Name</td> <td width="3">:</td> <td width="305"><input name="name" type="text" id="name" size="30"></td> </tr> <tr> <td>E-mail</td> <td>:</td> <td><input …

Member Avatar for rpv_sen
0
524
Member Avatar for sagisgirl

Hi all, I've a problem with my insert sql..I didn'y know why. here is my insert sql $goodsDesc = $_POST['goodsDesc']; $k8goodsQty = $_POST['k8goodsQty']; $valuePerUnit = $_POST['valuePerUnit']; $sql_k8goodsIn = "INSERT INTO k8_goodsin (k8regID,goodsDesc,k8goodsQty,valuePerUnit) VALUES ( '".$k8regID."', '".addslashes(strtoupper($goodsDesc[$y]))."', '".$k8goodsQty[$y]."', '".$valuePerUnit[$y]."')"; for goodsDesc the input is like this goodsDesc = 2-1/2" suction pump …

Member Avatar for diafol
0
318
Member Avatar for sussy123

I am baffled at this webform on my responsive site which works perfectly fine in all iOSdevices and android tablets. However on android smartphones, specifically samsung s3/s4 -when the text box is clicked- the keyboard appears for less than a second then suddenly disappears. Should a set focus rule be …

Member Avatar for [NOPE]FOREVER
0
3K
Member Avatar for chaitu11
Member Avatar for joshl_1995

Hello Community, I'm trying to use dynamic subdomains which works but I'm only wanting .htaccess to to send subdomains without letters, numbers and underscores (_) to the 404 page. Here is my code. Options +FollowSymLinks -MultiViews RewriteEngine On RewriteBase / #Remove www. RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1%{REQUEST_URI} [QSA,NC,L] …

1
164
Member Avatar for everton.retweets

Hi Everyone, get a really strange problem I have been trying to fix for a few days now and I am unable to get it working. I have the following script as update.php file if (isset($_GET['tx'])) { $tx = $_GET['tx']; // collect all parameters herer $request = print_r($_REQUEST, true); $sqlcode …

Member Avatar for everton.retweets
0
338
Member Avatar for engrjd91

I have a php page which is logged in with a user account. Now i want to change my password here, also I'm getting two errors here. "Notice: Undefined variable: password in C:\xampp\htdocs\fyp\cms\cms-settings.php on line 73 Warning: mysql_affected_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\fyp\cms\cms-settings.php on line …

Member Avatar for pritaeas
0
191
Member Avatar for david.roun.7_1

I'm wanting to create an sql table, when a user registers at my site. This table will eventually be used to log messages. The code follows: <?php require('../connect/kidsblogsconnect.php'); $name=trim(mysql_real_escape_string($_POST['name'])); mysql_query("CREATE TABLE '$name'('sender' VARCHAR(30), 'message' VARCHAR(300), 'dateposted' DATE)") or DIE(mysql_error()); ?> When I run it, I get: You have an error …

Member Avatar for david.roun.7
0
326
Member Avatar for bops

Hi, I'm running into a strange issue on my iPage hosted version of my website. When logging into my system, `$_SESSION["id"]` contains the User ID of the logged in user. Somewhere else on my site I am doing something like this to retrieve the ID of a page: if (isset($_GET["id"])) …

Member Avatar for bops
0
147
Member Avatar for rahulroshan

Hi I want to rename Image in this script after downloading ,now it downloads as default Want to rename it to x.png Any help appreciated Saw a way via PHPserver,but Im using JAVA App <html> <head> <script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/rgbcolor.js"></script> <script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/canvg.js"></script> <script> function getImgData(chartContainer) { var chartArea = chartContainer.getElementsByTagName('svg')[0].parentNode; …

0
187
Member Avatar for roxanne.martos

im working on my login script and whilst testing it, it seems that the code doesnt recognise the details stored within a database im entering a valid username and password in the login form but it is not processing it somehow the system thinks its wrong. I cant find any …

Member Avatar for minitauros
0
265
Member Avatar for Ganesh_6

How would I use two actions? <form id="myForm" action="form.php","form1.php" method="GET"> Does this work? Now I have 2 actions. how to connect 2 pages using php? plz guide me

Member Avatar for Bachu
0
241
Member Avatar for tokick4

For those that have a good understanding of PHP arrays, I have a form that takes in multiple inputs that can be added to the form by js, the data is added to the codeRef[] array and I have tried to do several different things to get the data into …

Member Avatar for tokick4
0
374
Member Avatar for nadiam

hey guys so ive been asked to add an import csv function to my contacts page. <?php require "connection.php"; if ($_FILES[csv][size] > 0) { //get the csv file $file = $_FILES[csv][tmp_name]; $handle = fopen($file,"r"); if ($data[0]) { mysql_query("INSERT INTO contact (fname,lname,email) VALUES ( '".addslashes($data[0])."', '".addslashes($data[1])."', '".addslashes($data[2])."' ) "); } } …

0
159
Member Avatar for Nollyvenon

How do I find the network type(EDGE, UTMS, HSPDA etc) of user accessing my site in php Thanks.

Member Avatar for pzuurveen
0
166
Member Avatar for Ambrish_1

i am making an album book in php for each user in php, but all pics are shown on page,, i want to show them according to user login,,not all pics plz help,,,thanks

Member Avatar for Bachu
0
236
Member Avatar for toniksystems

Hello, Please how can I development a PHP application that Apache OpenOffice products can be installed into(e.g. Like Web OS). Thank you. Tony.

Member Avatar for diafol
0
223

The End.