52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Weliaz

Hey there everybody!:) I need some help to make a piece of code i made work. It current gets the login process right, however it doesnt save the cookies right:( (AC-Web.org is running vBulletin 4.2) <?php $sites = array( array( "url_login" => "http://www.ac-web.org/forums/login.php?do=login", "url_front" => "http://www.ac-web.org/forums/", "user_field" => "vb_login_username", "pass_field" …

Web Development php
Member Avatar for LastMitch
0
473
Member Avatar for Clanstrom

I just saw a tutorial on a PHP site, and saw the super global $_SERVER['SERVER_SELF'] getting sanitized with htmlspecialchars. Us there any use for this? If you submit a post that has form action="$_SERVER['SERVER_SELF']" what difference does it make what the url is set when submitting a form, because the …

Web Development php
Member Avatar for LastMitch
0
322
Member Avatar for vizz

I'm using [ScrollTo](https://github.com/balupton/jquery-scrollto). It is not scrolling to div having margin, **margin-left: -1160px;** or **margin-top: -600px;** I have following div <div id="home" class="content"> <h1>I'ts home</h1> </div> <div id="about" class="content" style="margin-left:-1160px;"> <h1>I'ts about</h1> </div> <div id="contact" class="content" style="margin-left:600px;"> <h1>I'ts Contact</h1> </div> <div id="services" class="content" style="margin-top:-600px;"> <h1>I'ts Contact</h1> </div> I want to …

Web Development github javascript
Member Avatar for LastMitch
0
188
Member Avatar for showman13

Good afternoon. What I'm trying to do is to get the username from the beginning of a field of data example 'username Membership Fee' or 'Username29473 Membership Fee' What I need to do is just get the 'username' or the 'Username29473' extracted as a value in a variable of it's …

Web Development php
Member Avatar for diafol
0
92
Member Avatar for K0ns3rv

Hello friends. I am currently involved in a project where we want to export data from mysql to xls, for this we have written a program that is in *jar format. What we want to do is execute this file through php after which we will send it to the …

Web Development php
Member Avatar for Atli
0
8K
Member Avatar for dancks

I'm not sure why I suck so bad at this. I was recommended by my prof to use date as opposed to timestamp. I'm starting to think going back to timestamp would be easier due to built in php functions I can use. so in my original addproduct.php form I …

Web Development mysql php
Member Avatar for diafol
0
403
Member Avatar for varma51

<form action="#" Method="post"> <input type="radio" name="cakes" value="blackforest"> <input type="radio" name="cakes" value="darkforest"> <input type="radio" name="cakes" value="vanila"> <input type="submit" value="submit"> </form> > Quoted Text Here here what the thing is i selected a radio button from those choices. now i did refreshing the page. the selected radio button will not display as …

Web Development php
Member Avatar for diafol
0
122
Member Avatar for AARTI SHRIVAS

i m displaying image from data base but it gives an error **failed to load given url** in fire bug and image not diaplyed on my website how i can solve these problem?

Web Development display image php
Member Avatar for diafol
0
147
Member Avatar for missc

i have a textbox and a button in list view ! now i would like to get the text/value of the textbox on btnClick event ! can some one tell me how i can get it?

Web Development asp.net
Member Avatar for missc
0
100
Member Avatar for classss

hi all, please share the dode of connectivity from front end to database. thank you in advance

Web Development php
Member Avatar for broj1
0
53
Member Avatar for rpv_sen

Hi I am planning to create web based association Management project. Can any one please provide me some sample or details which would me more helpful for me to develop the project.

Web Development mysql php
Member Avatar for rpv_sen
0
274
Member Avatar for krunal1986

hi all, i am sending mail through exchange server version Exchange2010. below is my code: static void Main() { try { string owausername = string.Empty; string owapassword = string.Empty; string mailFrom; string mailTo; string mailSub; string mailBody; ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack; ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010); EmailMessage email = new EmailMessage(service); …

Member Avatar for krunal1986
0
660
Member Avatar for Borzoi

I have a server which is hosting just a single site and because of this, I intend to redirect all traffic from domains which isn't mine to my domain. For example, if a random person decides for some reason to point their domain to my server, when my server gets …

Web Development apache http-protocol php
Member Avatar for Borzoi
0
310
Member Avatar for RickCJ7

I have a table that has information of fire departments around the state. I am trying to set up the gridview so that the address is a hyperlink with google maps. For example, In my address column, I have an address such as 745 W Colfax Ave Denver CO 80204, …

Web Development asp asp.net google seo
Member Avatar for JorgeM
0
709
Member Avatar for dancks

A lot of code here. Basically I'm making an auction type site. This segment of code is for a user to upload a product: I'm pretty sure there isn't anything wrong with addproduct.php but for completeness I feel like I should post it. addproduct.php: <?php require_once('checklogin.php'); require_once('validate.php'); if(!isset($_SESSION['user'])) { //die("redirect"); …

Web Development html-css mysql php regex
Member Avatar for diafol
0
265
Member Avatar for Violet_82

Hi I am trying to give some sense to this expression #container, #footer { width: expression(document.body.clientWidth < 742? "740px" : document.body.clientWidth > 1202? "1200px" : "auto"); } found on here http://www.cameronmoll.com/archives/000892.html but I can't quite get it. Is it saying if the width of the page is less than 745 …

Web Development html-css javascript
Member Avatar for Violet_82
0
114
Member Avatar for james19862012

As the title hopefully made clear...I want to restrict the access of a user data control so anonymous users (ones who havent registered with my site) can't access its contents. I read about restricting access to specific roles and I understand how it works for specific pages (forms) but I …

Web Development vb.net
Member Avatar for LastMitch
0
183
Member Avatar for stevanity

Alright. I am a beginner and I am unable to find a solution to this problem. I am developing this quizzing application. I have built the part that allows you to create and manage questions classified by difficulty and tags. But Im not able to think of a proper quiz …

Web Development javascript-jquery ruby
Member Avatar for Taywin
0
193
Member Avatar for morrisproject

I currently have a webpage (for example 'conveyor') with contains many buttons, when a button is clicked the user fills in the relevant fields on the page (page 2) and saves the record, which then turns the text on the button on 'conveyor' to red, to show the user a …

Web Development php
Member Avatar for diafol
0
112
Member Avatar for dalilice

So.. i want to make and online TV Show website using wordpress but can't fugure how to do it. The shows will be embeded from various websites (youtube, vimeo). 1. In general TV Shows have multiple seasons and i want the links to be like friends/season-1/episode-2 is there a plugin …

Web Development php wordpress
Member Avatar for blocblue
0
252
Member Avatar for starter

I need help with a dynamic drop down menu. I need when I select a make. the corresponding model load in the second drop down menu [code=php]<?php $conn=odbc_connect("cisproject","" ,"");// database connection $make = $_POST['manuf_name']; if ($make){ ///////////////////////////////////////////////// $query = sprintf("SELECT * FROM Models where manufacture_id='$make'"); $result = @mysql_query($query); $rowModel = …

Web Development php
Member Avatar for diafol
0
215
Member Avatar for Stefano Mtangoo

Hi All, I have made simple CMS with PHP/MYSQL. It make use of TinyMCE as Javascript editor. I can delete as well as add the contents. But How can I load the contents from database to TinyMCE for editing and saving? Here is my PHP code to add contents using …

Web Development cms html-css mysql php
Member Avatar for medzoner
0
4K
Member Avatar for cossay

I'm finding it difficult to configure public link in ajaxplorer. According to their documentation, this setting can done in server/conf/conf.php but the problem is there is no such file as server/conf/conf.php in the entire application folder. I currently using ajaxplorer 4.2.3.

Web Development php
Member Avatar for diafol
0
65
Member Avatar for jaimin4829

HI i want to get my own pc's ip adress and want to send to server database.how can i get this???

Web Development asp asp.net lan-wan
Member Avatar for JorgeM
0
373
Member Avatar for kevinyu

How to make an iframe embedded video not skip streaming an audio even if a submit button has been pressed, is it possible to achieve it without using scripts??? Note: I am streaming a YouTube video(hidden)

Web Development audio php
Member Avatar for gon1387
0
122
Member Avatar for Venter

i'm doing online quizz project. so i'm fetching questioins & answers Randomly from database. when ever press referesh button/f5 the questions are changing. wat i require is when the session starts once.the questions could not be change even doing refresh.. thank u all. eagerly waiting for ur help

Web Development php session
Member Avatar for gon1387
0
226
Member Avatar for daniel36

my controller code is- <?php class Site extends CI_Controller { function index() { echo "Under Construction."; } function signup() { $this->load->model('site_model'); $data['countries']=$this->site_model->get_countries(); $this->load->view('signup_view',$data); } function login() { echo "This is working."; } } ?> When i open signup page .the signup view repeats many time.

Web Development php
Member Avatar for gon1387
0
120
Member Avatar for DaveyMoyes

Hi Everyone. I have a htaccess file the re-writes my urls for a directory on a website I am helping to develop for a friend. the directory structure is mydomain.co.uk/dir1/dir2/shopping-cart/ The mod_rewrite rule rewrites the index.php file into pretty urls for example: shopping-cart/123/this-is-the-item-title The problem I am facing is when …

Web Development apache client-server php
Member Avatar for gon1387
0
302
Member Avatar for adishardis

Hi, I have two diagrams and one unordered list( http://hardis.synology.me/portalen/filter.png ) that rely on select statements and I'm wondering what the best way to filter those. (one filter for all of them!) $result = mysql_query("SELECT * FROM TABLE WHERE filterArray ORDER BY Datum_formatning ASC"); I have 5 fields that will …

Web Development php
Member Avatar for adishardis
0
318
Member Avatar for dangerousdayton

i am making simple experiment about html to pdf.i can populate all the textfields but not the check boxes,i used radio button in html so that only one can picked on the two.how can i possibly populate the checkboxes in pdf??please help! here is my code: [code] <html> <body> <head> …

Web Development pdf php
Member Avatar for Kristof_1
0
3K
Member Avatar for pgh

Hi All, I am new to this portal, hope some one will guide me with my issue, i wanted to send the data from FORM submit to update in database at the same time it shd go as email, Any help will be appritiate thanks Prashant

Web Development php
Member Avatar for saad2309
0
228
Member Avatar for crazydevelopervish

i have one datalist having shopping cart table which retrieves values as per customer_id aspx code. <asp:DataList ID="DataList1" runat="server" DataKeyField="Customer_Product" DataSourceID="SqlDataSource2" onupdatecommand="DataList1_UpdateCommand" oneditcommand="DataList1_EditCommand1" ondeletecommand="DataList1_DeleteCommand" oncancelcommand="DataList1_CancelCommand1"> <HeaderTemplate> <table border="solid 1px black"> <tr> <th style="width: 250px"> </th> <th style="width: 400px"> Item Description </th> <th style="width: 100px"> Price </th> <th style="width: 100px"> Qty …

Web Development asp.net open-source session
Member Avatar for kvprajapati
0
185
Member Avatar for eyeda

Hi Guys! I've a problem here with the $_SESSION coding. As u can see from the coding below, I've declared several session after a user is log in. I want to display the $_SESSION['SESS_ADMIN_LEVEL'] in adLandingpage.php but the code is not work. logincode.php $resultA = mysql_query("SELECT * FROM staff WHERE …

Web Development php session
Member Avatar for eyeda
0
194
Member Avatar for kris.sirk.54

I have a MYSQL database that house user names and user numbers. the process is user goes to a url inputs all the information. Goes to the office they search for the user makes sure all the information is correct and assigns them a number inputs it into the the …

Web Development mysql php
Member Avatar for kris.sirk.54
0
88
Member Avatar for aneeqtariq_143

I recently download CKEditor for my web application. I want to add copy data from word file and paste on ckeditor, when i am doing this i found that all styling is gone but i want to preserve styling as it is on orignal word file. So i did little …

Web Development php
Member Avatar for LastMitch
0
314
Member Avatar for Vijaysurya

hai everybody, i need recent-plan div tag display horizontally in cmyplan-show conatiner div inside. anybody plz help me. all the layout records display in one row. plz help me. <div id="myplans-create" > <div id="horiz_container_outer" > <div id="horiz_container_inner" > <div id="horiz_container"> <div id="myplans-show" style="position:absolute;height:100%;border: solid 1px #666666;width:100%;display:block;overflow-x: scroll; "> <div id="data"></div> …

Web Development display php
Member Avatar for LastMitch
0
167
Member Avatar for jayreis

I have a form with a text input where I am trying to use 2 jquery functions together. However only one of them seems to work. So I am hoping their might be a jquery guru out there that can help What I have is a text input box called …

Web Development javascript javascript-jquery
Member Avatar for jayreis
0
178
Member Avatar for edyy

Hello I have two files index.php and search.php and I want to enter the string in index.php the search to be preocesed by search.php and the result to be shown in the same window index.php. index.php <?PHP require_once("includes/membersite_config.php"); if(!$fgmembersite->CheckLogin()) { $fgmembersite->RedirectToURL("login.php"); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Web Development html-css php
Member Avatar for GliderPilot
0
377
Member Avatar for westernbees

Hey guys, i am new to php ..I really needed your help with pagination in php .The issue is when i look at the out put, i dont see any thing.. just blank screen. Database and other details are correct. I rechecked it Here is my code : <?php $host="xxxxxx"; …

Web Development php
Member Avatar for diafol
0
248
Member Avatar for NardCake

Hello! I'm creating a small little applications (command line type thing, got some ideas) and I was wondering how exactly I would portray loading of the sorts, I know the classic animation: -- \ | / -- I just wanted to know how to animate that in Javascript. Just change …

Web Development javascript
Member Avatar for NardCake
0
150
Member Avatar for kishoresai438

Hi frnds, three months back i was integrated Tiny Mce editor to my website whick integrates Equation Editor Plugin. At that time everything was going good. From last couple of days all the existed equations are displaying as Text formate. Can any body solve this issue please.

Web Development php
Member Avatar for diafol
0
123
Member Avatar for jonsan32

I'd like to create something like this: http://www.million-monkeys.com/tvcyo/ I'd love to use Google docs, but I wouldn't mind plugging it all in by hand. I've done so before when I used this site: http://jquery-datatables-column-filter.googlecode.com/svn/trunk/index.html to create a searchable database. I'm just wondering, however, how would I go about doing that …

Web Development javascript office-suite seo
Member Avatar for AleMonteiro
0
226
Member Avatar for jonsan32

My slider works well enough in all browsers except for IE, where the overflow isn't hidden at all. I've tried adding position absolute to some parts and I've tried adding position relative to others, but nothing has worked. Any answer to this would be great. Thanks. <script type="text/javascript" src="http://dl.dropbox.com/u/5739741/OMAR/code/jquery.js"></script> <script …

Web Development javascript javascript-jquery
Member Avatar for jonsan32
0
285
Member Avatar for amulet_john

Hello guys.. Do you have any idea how to make a Global Positioning System (GPS) using PHP & MySQL? I don't know where should I start. Do you think it's possible in PHP & MySQL? Please help. Thank's ! Regards, amulet_john

Web Development mysql php
Member Avatar for veedeoo
0
288
Member Avatar for lilach.dror

here is the code of the php and the last sentence is the problem: <?php/** * The base configurations of the WordPress. * * This file has the following configurations: MySQL settings, Table Prefix, * Secret Keys, WordPress Language, and ABSPATH. You can find more information by * visiting {@link …

Web Development php wordpress
Member Avatar for diafol
0
2K
Member Avatar for chira9na9pal

# Hello i want to use url rewriting in my core php web page site.. can some me help me ?? # For Example :- My web page url link is www.demo.com/abc.php i wana to show that page in url like www.demo.com/abc can some one tell me how can me …

Web Development php
Member Avatar for diafol
0
160
Member Avatar for bradly.spicer

Hey all, Selecting a MYSQL Database is throwing Errors. It's all correct. However, My page seems to think otherwise.. <?php ################### Server Connection / CONST ###################### define('DB_NAME', 'xtrapsp_Rhino'); define('DB_USER', 'xtrapsp_rhino'); define('DB_PASSWORD', 'Password'); define('DB_HOST', 'localhost'); ################################################################## // Note that whatever is enclosed by $_POST[""] matches the form input elements // $Value_name …

Web Development php
Member Avatar for bradly.spicer
0
146
Member Avatar for eburlea

Hi all. I have 2 pages: 1. that provides data from mysql in json encoding if a correct "key" is provided, in my case the "key" sent by method post should be "1". Link: http://semaffiliate.local/public/api/getemployees Code in Zend: public function getemployeesAction() { $key = $this->getRequest()->getPost('key'); if (isset($key)) { if ($key …

Web Development api first-post javascript json
Member Avatar for eburlea
0
354
Member Avatar for qwertpink

Hi all, Im trying to add sizes to the cart. However, i cant pass size over. please help. $result = $db->query($sql); $output[] = '<ul>'; while ($row = $result->fetch()) { $output[] = '<br><font color="837F77"size="6">'.$row['name'].' </font><br></br> S$'.$row['price'].'<br></br>'; $output[] = '<select name="size"> <option disabled="disabled" selected value="NA" >Size</option>'; if ($row[small_qty]== 0){ $output[] = ' …

Web Development html-css php session
Member Avatar for qwertpink
0
379
Member Avatar for taryn.bleckley.3

Record is inserting but email is not going.. if($_POST['registersubmit']) { $to="'".$_POST['email']."'"; include('db.php'); $checkemail=mysql_num_rows(mysql_query("select * from authentications where email='".$_POST['email']."'")); if($checkemail) header("Location:".$_SERVER['PHP_SELF']."?msg=E-Mail Already Exists "); else { $query="insert into authentications (password, authcode, email, status, created_at) values ('".$_POST['password']."', '".md5($_POST['email'])."', '".$_POST['email']."', 0, '".date('Y-m-d h:i:s')."')"; if(mysql_query($query)) { $headers1 = 'MIME-Version: 1.0' . "\r\n"; $headers1 .= …

Web Development email php
Member Avatar for taryn.bleckley.3
0
133

The End.