39,388 Topics

Member Avatar for
Member Avatar for vijaysoft1

i want the best secured php class to provide [B]log in[/B] feature in my web with access protection and session timeout , plz help me

Member Avatar for jonhy22
0
125
Member Avatar for gogs85

How to some div value export to xml with tag in php code. I search my site and from div value export to external xml file. ?php $some_link = 'http://www.popusti.rs/'; $tagName = 'div'; $attrName = 'class'; $attrValue = 'offer-list-item'; $dom = new DOMDocument; $dom->preserveWhiteSpace = false; @$dom->loadHTMLFile($some_link); $html = getTags( …

Member Avatar for diafol
0
363
Member Avatar for realworldmedia

Ok so i have been searching but this specific part i cant get, how do i echoinformation from my sql database with php into my div so i keep the same formating <div class="wrapper pad_bot3"> <figure class="left marg_right1"><img src="images/page1_img4.jpg" alt=""></figure> <p class="pad_bot1"><strong class="color2">Chateau Lingfield</strong></p> <p class="pad_bot1"><strong class="color2">3 baths, 6 beds, …

Member Avatar for realworldmedia
0
177
Member Avatar for t_thakar

Hi Im trying to create a web based quotation system with php and mysql. I wanted to create something like shopping basket where people store the items and when they click generate quote the system will display the quote of the items and qty selected. Only when the person has …

Member Avatar for cereal
0
490
Member Avatar for veledrom

Hi, I wonder what is the best way to prevent injection against user input. There are a lot of examples but one say "magic_quotes_gpc" is good but removed from PHP soon. Therefore, no point of using it. Another says "mysql_real_escape_string and addslashes" just used to clean iptuts. Etc etc. I …

Member Avatar for phplover
0
164
Member Avatar for rotten69

Hey people, I am wondering what a good editor is that supports HTML5, CSS3, cakephp and a few other plugins ? I'm using Eclipse for php which supports HTML5... At the same time, I trying Aptana Studio3 which supports CSS3 ... I need one that supports all.. Or even Plugins …

Member Avatar for rotten69
0
173
Member Avatar for aecha

Hi.. I need some help from all of you. My link cannot go to the next page when i include index.php?page= in my line.Like the example below.. <td><div align="center"><a href="index.php?page=view_user.php?ref1=<?php echo $row['user_id'];?>">View</a></div></td> If I remove the index.php?page= , the page can link to the page that i want to go. …

Member Avatar for aecha
0
130
Member Avatar for geneh23

Hey everyone I'm trying to create a blog using php and for a certain page, I am "including" an "init.php" file that doesn't seem to recognize...I have three folders within another folder called "test5" and within that folder I have the folders called: "func" "resources" and "simple". Now in the …

Member Avatar for Shark8000
0
300
Member Avatar for dany12

Hello How can you store a theme(css jquery html) in a database and retrieve it using php and jquery ajax Can this be done in json and what advantages are with this tehnology,I am new to json and don't know that is why I am asking any ideas will be …

Member Avatar for diafol
0
114
Member Avatar for Venom Rush

Hi there I'm new to soap and I'm using the NuSOAP library. I'm trying to send xml to a soap server and then receive a response. I'm getting nowhere with this and it's beginning to frustrate me. Here is what I was provided with: First Snippet POST /Submit.asmx HTTP/1.1 Host: …

Member Avatar for diafol
0
5K
Member Avatar for don't give up

hello please help me first question : how can send email for users if him register in my website"i saved email in database" ,, send one Time a day Automatic .. second question : how can search in database then display for user thanks alot

Member Avatar for diafol
0
173
Member Avatar for latortuga42

Hi, I have a JavaScript validation function that worked before I changed the sendmail file to a php version (had to becfause of host's linux server). The sendmail code in the php file has some validation checking, but I would prefer to use the validation.js file with the form's onSubmit …

Member Avatar for ddymacek
0
701
Member Avatar for nexocentric

I'm having a small problem with a variable in one of my PHP scripts. The variable is `$isSubMenu`. It gets set using a function that runs recursively called createNavigationMenu. However, even though I have set it, the interpreter keeps telling me that the variable is undefined. I really don't know …

Member Avatar for nexocentric
0
571
Member Avatar for heshanm

I want to retrieve records in my database in order to manage details. The below error message displayed when i trying to do that. Can anyone help me out? ( ! ) Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\Student registration\manage student details\manageStudentDetailsForm.php on line 250 …

Member Avatar for Venom Rush
0
120
Member Avatar for nchy13

we can use $_GET method to pass info via url but it shows the info in url like <a href =profile.php?id=$user>click here</a> and in profile.php?id=$user , we can access username via $username=$_GET['id']; is there any safer method to achieve because i don;t want to show the info passed in url. …

Member Avatar for urtrivedi
0
342
Member Avatar for hptchen

hi guys... i really need reference ASAP what i'm trying to do now is: -creating API from my website so that -other website can read certain content for my website database and put it in their website. i don't know if i explain it correctly, i tried to googling for …

Member Avatar for pritaeas
0
65
Member Avatar for dschuett

This works: while($row = mysql_fetch_array($results)){ if($isfirst){ $last_id = $row['id']; } $isfirst = 0; $msg_id = $row['id']; $message = nl2br($row['post']); $time = $row['post_time']; $name = $row['firstname']." ".$row['lastname']; if($row['updated']=='1'){ $updated = "- <font style='color:#DB4937;'>CORRECTED</font>"; } else{ $updated=''; } $newPosts .= "<li id='msgblk_$msg_id'><span id='message_$msg_id'>$message</span><p class='time' id='time_$msg_id'>$name - $time $updated</p></li>"; } $newID = $last_id; …

Member Avatar for dschuett
0
285
Member Avatar for Wolxhound90

Hey guys, I have this code which gets some reults from a table and displays them: echo "<table><tr>"; while($col = mysql_fetch_array($columns)){ echo "<th>".$col['COLUMN_NAME']."</th>"; } echo "</tr>"; $i=0; while($row = mysql_fetch_array($data)){ echo "<tr>"; foreach($row as $r){ echo "<td>".$r."</td>"; } echo "</tr>"; } echo "</table>"; Getting the column names is fine, but …

Member Avatar for Wolxhound90
0
112
Member Avatar for dany12

Hello I need to setup a virtual host for my zend aplication I managed to link all my zend framework with php and windows I am using wamp 2.2d and I am having a problem with the virtual host NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1:80> ServerAdmin webmaster@localhost DocumentRoot "c:/wamp/www" ServerName localhost ServerAlias …

Member Avatar for dany12
0
115
Member Avatar for apanimesh061

What should be the regular expression for thid code ??? `<span style="text-align:justify;">Stepping out of the Shadows:M6 Once touched... Marisa Somerville has changed. Now a confi dent, groomed, successful businesswoman, in some ways she's nothing like the scared wife of an abusive husband that Rafe Peveril survived a plane crash with …

Member Avatar for apanimesh061
0
294
Member Avatar for gilgil2

Hi, I am trying to query a MySql database based on which search fields are filled in and ignoring those that aren't. I have only got as far as the first part and it isn't working, could anyone tell me why? It doesn't seem to be finding anything in the …

Member Avatar for diafol
0
142
Member Avatar for meko22

Hi there, I would like to make an email form that would select all the emails from a MySQL db and then send that message to all addresses. I got this script but was unable to get it working. Any help would be great. [code] <?php //Connect to database mysql_connect("localhost","user","password") …

Member Avatar for shahidsidd
0
8K
Member Avatar for muralibobby2015

hello, i want to display social icons on images like facebook. is there any way to embedd? Thanks

Member Avatar for Coloradojaguar
0
91
Member Avatar for joshmac

I am not sure if this makes sense, but in an application I've working on, there are two users. One is an admin with an admin role/capabilities and the other is a member with a member role/capabilities. Now, when I log in as the admin, there is no issue. When …

Member Avatar for fobos
0
119
Member Avatar for programmer12

I am trying to build a script (PHP email attachment) that works for all mailing Systems (Gmail, Yahoo, Outlook etc) The codes below work perfectly for Hotmail, but Gmail and others dont come through. What should i do to the codes below to fix this issue. Thanks!

Member Avatar for programmer12
0
304
Member Avatar for Wolxhound90

Hey guys, I've got a problem with a form that I've made. Basically the form loads a number of textboxes based on how many columns are in a table. I don't have any problems doingthat, but on the next page I'm trying to put the textbox values into a string …

Member Avatar for Wolxhound90
0
93
Member Avatar for dschuett

I am working on a live feed that pulls records from a database. Firebug shows the JSON being returned as the following: {"newPosts":"<li><span id='message_33'>This is a Test.\nLet me know if it works.<\/span><p class='time' id='time_33'>Apr 14th, 2012 10:13:57 AM<\/p><\/li>","newID":"33"} I have checked the JSON's validity at JSONLint.com, and it IS in …

Member Avatar for pritaeas
0
188
Member Avatar for Collossus

I am having problems getting getJSON call to work. At the moment it doesn't retrieve any data, however when I change the '$.getJSON' to ' $.get' it retrieves the data in it's encoded format: [{"Page":"User Journey","Description":"Interactive User Journey Diagram","Bounce_Rate":"0","Avg_Time_On_Page":"0","Page_Views":"0","Click_Rate":"0"} What am I missing from the $.getJSON call? getstatistics.php: $query="SELECT Page, …

Member Avatar for pritaeas
0
130
Member Avatar for shar88

Hi there, I'm bit rusty in PHP, I'm curently doing an PHP assignment where a user can select and save listed images/data/values into their own collection I have inputted all the data and printed out in a repeat region with recordset paging. I'm confused how am i suppose to save …

Member Avatar for simplypixie
0
449
Member Avatar for Reidmere

Hi, I'm trying to figure out how to create a random integer, that I can ALSO control by using links, which I'm setting as buttons. In short, I've been programming an MP3 Player. Currently, I have "$playing" set as a random integer, but I want links to increase by 1, …

Member Avatar for Reidmere
0
214

The End.