52,566 Archived Topics
Remove Filter ![]() | |
hello, i want to do small mail concept. what it zzzzz means admin sends registration form to user mails. in that mail user can register their account . my doubt is is there any chance to apply validations in mail. below is my script.[CODE]<? ob_start(); extract($_REQUEST); include("includes/class.phpmailer.php"); if($_POST) { ///////////////////////////////////////////////////////////////////////////////////////////// … Web Development email javascript php | |
hi i am using vs 2005 asp.net c#. there is a database in which i perform the select max(col) operation in sql, how can i lock the database such that when 1 user is performing this operation, others will not be able to access the page( carry out insert operation) … Web Development asp.net | |
I have an array that was an 'explode' from an sql query, and i want in another query, search for an field called "id" by each value of the exploded array(it can be 1 value or 17) and get the field "name" associated to the id, and so create another … ![]() | |
I have page1.php that has the a link to a popup. I need to send a variable to the popup window. I'm currently using this in the body: [code=php]<a href="#" onclick="actpopup(<?echo($act_id);?>)"><?echo($date);?></a>[/code] This is the function actpopup [code=php] url = "serv_act.php?act_id=act_id"; options = "height=175, width=300, location=no, scrollbars=no,menubars=no,toolbars=no,resizable=yes,left=50"; window.open(url,name,options); [/code] But for … Web Development javascript php | |
anyone can help me to figure out how to view your result (after searching) in the result page ? i created 2 page [COLOR="Red"]search.php viewdata.php[/COLOR] ocay, after i insert an input to the text field for search item, the result (a list) will display at the bottom of the search … Web Development php | |
Hi, I have a Edit Button(which is a Image Button) and when I click that ImageButton a new browser window should open and it should load the values previously entered by the user. The new window should contain the old values and now should be able to edit them. For … ![]() | |
Hi, I am somewhat new to PHP and having a bit of trouble figuring out how to grab the value from a drop down menu from a form. Also I want to assign a number to the selected option. For Example, the person will select computer memory from the drop … Web Development php | |
Hey, So I'm writing an application in Adobe Air (AJAX) and I've come upon a little problem. I've created a function to set a minimum size for the window [CODE]var check_size = function() { if ( window.nativeWindow.width < 690 ) { window.nativeWindow.width = 690; } if ( window.nativeWindow.height < 400 … Web Development html-css javascript | |
Hi all, I am looking for an example/code to get MAC Address with JavaScript or any other technology for a php based web application. The collected MAC Address will be stored in a MySQL table, 'login' to generate reports. I have found some php scripts helping me do this but … Web Development client-server javascript php web-browser web-server | |
I am working on an page that will print scheduled classes and appointments after querying a databse for them. Right now I'm trying to store the names of people with appointments in an array so I can print it after adding the classes as well. I've gotten stuck on this … | |
I am having trouble operating this code.[CODE]<?php ob_end_flush(); ob_implicit_flush(true); set_time_limit(0); function consoleEcho($msg, $DontShowDate = 0) { if(!$DontShowDate) $date = "[". date('m/d H:i:s'). "] "; $msg = $date . $msg; print($msg ."\n"); } class client { public $sock; public $ipaddr; public $chatServer; public $uid; function sendMessage($msg) { socket_write($client[$i]->sock, $msg . chr(0)); … Web Development client-server php socket-programming ubuntu | |
Hello everyone! Does anyone of you knows a good free CKEditor + CKFinder alternative? Cheers, Eshko Web Development javascript | |
I am throughly confused....why does this seemingly simple deal not work? [code=javascript] <script type="text/javascript"> <!-- window.onbeforeunload = function (){ var checkboxImg = new Image(); var checkboxImgUrl = "checkbox.php%3Flonger%3D" + reviews-chk-longer.checked + "%26discrete%3D" + reviews-chk-discrete.checked + "%26natural%3D" + reviews-chk-natural.checked + "%26thicker%3D" + reviews-chk-thicker.checked + "%26permanent%3D" + reviews-chk-permanent.checked + "%26stamina%3D" + reviews-chk-stamina.checked … Web Development javascript | |
I launched the following scripts but only the "Auto Start Page Rotator" page appeared. Can anyone please check if the codes are correct? [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Control page</title> </head> <body> <script language="JAVASCRIPT"> var Win; var page_index=0; var page = new Array(); page[0] … Web Development javascript | |
Hello, I am having a problem getting variables in my function. Below is my code and an explanation of how it is being called. 1. I set the vars: [code=php] error_reporting(2047); require_once('XML\RPC.php'); define("SITECODE", 000000); define("REQUEST_URL", "/external/request.php"); define("REQUEST_SERVER", "domain.com"); define("REQUEST_PORT", 443); define("XML_DEBUG", 0); $software_name = "domain.com"; $messages = array(); $errors = … | |
hii i want to write dates in drop down menu/list and that dates i have to pick from calender. i need to have a calender in such a way that when i click drop down list calender appears and i select a date that goes in that drop down list. … Web Development php | |
Hi guys, I need an advice on a html-refreshing issue I have one html document containing three different forms with three submit buttons for each form. The first form has some input fields for personal information (name,surname, age etc). When the user fills in the fields, presses the submit button, … | |
Hi. For some reason the real_escape_string is not working. Here is a function that doesnt seem to work. function add_mail(){ $host = ""; $user = ""; $pass = ""; $database = ""; //this function assigns correct values to the variables to access the database. get_variables_db2($host, $user, $pass, $database); $db = … Web Development php | |
In my webconfig file, I am using Forms authentication and I have: <forms name="appNameAuth" path="/" loginUrl="login.aspx" protection="All" timeout="30"> and my default.aspx page is protected as it should. After logging with the proper credentials I am directed to the protected default.aspx page, however when viewing other pages of my website in … Web Development asp.net | |
I have a multiview control with two views, with the first one loaded as default. On that form I have two textboxes which are both connected to a requiredfield control. I also have one submit button control for the textfields, and a linkbutton control to show the second view in … Web Development asp.net | |
Hello Guys, Right my problem is, I am creating a slider where in which each element is slid (using animate width) into place. This is how it works, the element currently displayed is give a margin-left: of 842px (same as my slider width) and then a margin-top: of 300px (height … Web Development html-css javascript javascript-jquery | |
To start with I a am a newbie and I know I have done this wrong, probably in my webconfig file. These are my settings in the webconfig file: [CODE]<forms name="appNameAuth" path="/" loginUrl="login.aspx" protection="All" timeout="30"> <credentials passwordFormat="Clear"> <user name="xxx" password="xxx"/> </credentials> </forms> </authentication> <authorization> <allow users="?"/> </authorization>[/CODE] For my login.aspx … Web Development asp.net | |
hello, I have created a web application using java,mysql I have to still write functionalities where in the functionalities need the current user name for a web application. The functionalities like view profile needs it. Can anyone please help me out in this. Thanks Web Development java-jsp | |
i have a php code in a div. I'd like to cancel clicking on that div, until the page loads. i'm having the problem if i click on the div too fast which calls a popup div... it doesn't get the content from the php.. so it is a blank … Web Development javascript php | |
I have a form on page1.php. The form action is "page1.php". After some sanitation and validation takes place and there are no errors, when a user clicks the submit button, I need the page be redirected and a variable passed to the destination page. The redirection is done with this … Web Development php | |
Hi everyone, I am new to php and currently i am trying to modify a word / text in a PDF file. For example, i would like to replace a specific word / text [knowledge] in a PDF file with friends. e.g. I have a wide range of [Knowlege]. I … | |
Does anyone know how to find and trace website visitor's location(Country/city) using PHP/sql? Thanks in advance. Web Development php | |
My problem is very easy. I have written the following PHP code to generate the arrays of textareas: for ($i=0; $i<length; $i++) { echo '<textarea type="text" name="username'. $i.'" cols="60" rows="4" onkeydown="check_username(this.form.username'. $i. '.value)">'. $sentences_data [$i]. '</textarea> <span id="username_label"></span><br/>'; } The Java function is function check_username(username) { if (ajax) { ajax.open('get','testuser.php?username=' … Web Development javascript php | |
Hey Guys, So I'm making a webpage that has a form that is based on the selected section of the website... And I got a few questions/issues. [LIST] [*]Is it normal that I have to make a different name for a value from a section that needs a javascript (line … Web Development javascript javascript-jquery | |
Hello, I'm developping a new joomla component, so i want to store pictures in database table in field type : blob. i'm wondery how to proceed to do this. I'm using this to get file from the form : $file = JRequest::getVar( 'img2', null, 'files', 'array' ); jimport('joomla.filesystem.file'); $filename = … | |
<?php include 'session.inc'; check_login(); $con=mysql_connect("localhost","root",""); if(!$con) die('Could not connect:' .mysql_error()); mysql_select_db("vms", $con); if($_POST[product]!='NONE') { $product=$_POST[product]; } else { $product='NONE'; } $expire=time()+60*60; setcookie("product",$product,$expire); if(product!='NONE') { // how many rows to show per page $rowsPerPage = 20; // by default we show first page $pageNum = 1; // if $_POST['page'] defined, use … | |
Can Someone Tell Me how to make a auto posting form . I need theat form for automatic pots ip on sql db, Please Help Thx. Web Development php | |
My project is e learning project. I've a "choose the correct answer" module. When the click the "begin test" button it should fetch the questions and options from database and display it. Instead of that my page displays "java.lang.NullPointerException". I've assigned unique values for each error. So the exact error … | |
Hi, Could anyone please help a n00b girl on this one? Thx:) [php] <?php session_start(); //allows session include('config.php'); if($admin == 6) { echo "Admin"; } ?> include "includes/header_account.php"; if($logged[id]) { //welcomes the member <div id="mainContent"> <div id="profile" class="clearfix"> <div id="col-left"> <div class="profile-section"> <a href='editprofile.php' class="manage">Uredi svoj Profil</a> <h2>echo "Živjo $logged[username]</h2>"; … ![]() | |
There is this function: [CODE] function disguise_curl($url) { $curl = curl_init(); // setup headers - used the same headers from Firefox version 2.0.0.6 // below was split up because php.net said the line was too long. :/ $header[0] = "Accept: text/xml,application/xml,application/xhtml+xml,"; $header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; $header[] = "Cache-Control: max-age=0"; $header[] = … | |
Hi, I have a website on NET 2.0, there I have a textbox and after I change the text on it with a js function, try to save on the DB (I have to click on a imagebutton to save it), but on the postback the textbox.text property has the … | |
Hey there all. I wanted to know if there was a way to use php to validate form. Well in more detail, I wanted to know if it was possible to print a msgbox using php telling the user he has missed some thing rather than having to display a … Web Development javascript php | |
[quote=peter_budo;269339]another think to keep in mind, if you take that script from somebody site it may not work properly/ at all because it need some data[/quote] hi,, i'm whinkz,,hmm juz wanna ask u how to run javascript program properly?,,,,i was juz doing a school report,,, i dont have any idea … Web Development javascript | |
Hi Daniwebteam, I want to upload a file size which is greater than 2 MB.The default file size of php is 2MB. So,i have used the following coding, [code=php] ini_set('upload_max_filesize','7M'); [/code] or ini_set('upload_max_filesize','7000'); But still i did not able to upload a file size which is greater than 2mb.When i … Web Development php | |
hi! I'm starting creating theme in wordpress. I study the default theme in wordpress. The problems are the files. I only know the header.php,footer.php,sidebar.php,function.php, index.php and style.css. Some files like archive.php and the others, i don't know the use of them. me i know why they are part in wordpress … | |
Hi guys... I need a PHP code which will display a hyperlink only between 8:00 am - 8:00 pm. Thanks. | |
I have a table with a bunch of check boxes, this is not a plug: (found at [url snipped]), I am trying to figure out how to store each checkbox's value in real time (there is no "Submit" button). I run jQuery through my site and was thinking that PHP/jQuery … Web Development javascript-jquery php storage | |
I'm toying around with a script to allow users to search for other users based on certain criteria contained in their profiles. Anyhow, some of the attributes on the user profiles are things like what they are seeking like dating, someone to talk to, etc. I decided to serialize the … Web Development php | |
I had a look at this [URL="http://code.google.com/p/php-smtp-email-validation/"]PHP SMTP Email Validation[/URL] and found it pretty useful. [B]How would I be able to post results to a MySQL database, [/B] the info posted to the screen wont help if you have 100's of thousands of email addresses to validate. [QUOTE]>>> HELO example.com … | |
in trusted connection hw will we get the client windows user id.i am getting only server windows user id when i run the application in server.by when client run iam not getting client windows user id. Web Development asp.net client-server | |
string str = ""; for (int i = 0; i < 2; i++) { foreach (RepeaterItem r in Repeater1.Items) { CheckBox c = (CheckBox)r.FindControl("chkModule"); //Response.Write(i); if (c.Checked) { str += "true,"; //Response.Write("True" + " " + str + " <br />"); //Response.Write("True" + " " + str + " " + i + "<br … Web Development asp.net | |
Hi I've set up a website which gathers results from a mysql database which allows the user to sort the results according to some preferences in 2 separate select lists. It works as long as you make a selection from both boxes before submitting. I would like for results to … | |
I m making a website of Online Programming Forum.. But i m a bit confused about how to display new thread generated by a user to the main window... Can anybody help me... Thanx... Web Development java-jsp | |
Hi, I am wondering if anyone on the list could help me search an xml file based on the user input. Right now, I have two separate files, one that shows all the data from an xml file, and the other is a simple web form with a button like … | |
Im trying to get the values of checkboxes in a datalist and then display them in a label on a page, but im getting a nullreference error. on the line... if(chk.Checked) i know these errors are asked for alot, but after researching i cannot find whats wrong :( please help! … Web Development asp.net |
The End.