743 Posted Topics

Member Avatar for cVz

[QUOTE=cVz;695734]Hey people .... I am trying to dynamically load data into combo boxes on selection of the first combo box items... I am Using MySql and PHP .... i really just don't know what to do anymore ... please please please help me ... PS - i am actually a …

Member Avatar for digital-ether
0
178
Member Avatar for Maxine

[QUOTE=Maxine;695385]I am currently working on a program that should update mysql database online at an interval of an hour automatically. The user on the other side should be able to download the information in the database for use in his/her local machine. I am stuck in the process, I now …

Member Avatar for digital-ether
0
128
Member Avatar for designingamy

[QUOTE=designingamy;678468]I'm trying to locate my php.ini file so I can see if the register_global are off. If it is on, is it enough to just use the $ip=@$REMOTE_ADDR; or am I still going to have to use the code if they are behind a proxy? I'm trying to get a …

Member Avatar for designingamy
0
258
Member Avatar for Tess James

[QUOTE=tessy7;592769]can i create dynamic array variable names in php? my requirement is... i want a no: of 1-d arrays like $c1[],$c2[],$c3[]. and i need to dynamically create the arrays like this.. for($i=1;$i<$var;$i++) $c.$i[]=$r; is there any way to do this?[/QUOTE] Use $$. This evaluates the string value of the inner …

Member Avatar for Pado
0
171
Member Avatar for veledrom

[QUOTE=veledrom;681211]Hi, How can store [inlinecode]$_SESSION['id']="myId";[/inlinecode] for 5 hours? I tried cache thing but, when i closed IE it expired. When i echo $_SESSION['id'], it doesn't return any value. Thanks [code] session_cache_expire(150); session_start(); $_SESSION['id']="myId"; [/code][/QUOTE] Just a note: The session_cache_expire() function does not set the lifetime of the session. It only …

Member Avatar for digital-ether
0
108
Member Avatar for wertz33

[QUOTE=wertz33;680656]im trying to do a button that will be able to add automatically textboxes,radiobutton or other forms. [B]for example of this is that i have 1 row that consist of a textbox and radiobuttons, then below there is a button named add. when i click add same row will be …

Member Avatar for Shanti C
0
70
Member Avatar for pauldavis

[QUOTE=pauldavis;681699]Hi, im making the website for a local youth club, and the leader there, wants to have comments posted automatically, under the contact box. I'm fine with the contact form, that works fine. Its the same one used on my website, its been tested by 3 other people to. The …

Member Avatar for digital-ether
1
115
Member Avatar for fortiz147

[QUOTE=fortiz147;680366]i have passed multiple identical id values, and now i want to retrieve those corresponding id values in mysql. how do i retrieve them? the table that the ids were inserted is a join table named hrm1_employees with field names hrmemp1Id, empId, and hrm1Id. the field hrm1Id came from the …

Member Avatar for fortiz147
0
98
Member Avatar for Diode

Adding two submit buttons to the form allows you to send different GET or POST params depending on which submit button was pressed. If you give a name and value for each Button, then in the POST, you'll get the name=value of the button set. Eg: Your buttons are: [CODE]<input …

Member Avatar for digital-ether
0
188
Member Avatar for udaydesai

Hi udaydesai, Your code has almost 1000 lines in it. It would be hard for anybody to dig through it and give you help. It would help a lot if you just posted the relevant pieces of the code, such as the SQL query that does the insert. As far …

Member Avatar for digital-ether
0
116
Member Avatar for skinbug

[QUOTE=skinbug;678494]Do you need to validate a textarea against XSS injections? I have a textarea on a reg form and have tried entering data wrapped in h1 tags for a test, but when I look at the output in the admin area, the textarea displays <h1>test words</h1> I would have expected …

Member Avatar for digital-ether
0
146
Member Avatar for Harora

[QUOTE=Harora;678335]Hi All, on my client's server in the php files JS script getting embedded. the site is built in Joomla. is it virus or some problem with the joomla?? can any body please help me how can i get rid of it. this is the script which gets embed function …

Member Avatar for Harora
0
96
Member Avatar for Stefano Mtangoo

[QUOTE=evstevemd;676281]Hello guys, I have Installed drupal for some time, though still newbie. I ca configure blocks menu etc. One thing I have failed; to hack the theme to make site look the way I want to look. I have a site already in my local server (WAMP), but I need …

Member Avatar for Stefano Mtangoo
0
113
Member Avatar for FlorianZ

[QUOTE=FlorianZ;678162]Hi. I have a problem that I've been trying to solve over the last couple of days and I have had no success whatsoever. Basically, I'm RC4 encrypting a short string in a C program, which creates a connection to an url and sends the encrypted string as a parameter, …

Member Avatar for digital-ether
0
135
Member Avatar for ryy705

[QUOTE=ryy705;674353]Hello, Is there a way to create new email accounts using php? There must be right? Many sites will give you a mailbox as soon as you register. How do they do it?[/QUOTE] This is for Linux, I don't have any experience with Windows Mail Servers. Mail servers (MTAs) by …

Member Avatar for nikesh.yadav
0
119
Member Avatar for servis

[QUOTE=servis;675584]Have a nice day, i am working on image gallery, i want to create a php script that allow user to select multiple files from any folder of his computer and then upload it to server, just like flickr or orkut, but i have no idea how it can be …

Member Avatar for digital-ether
0
123
Member Avatar for architact

[QUOTE=architact;675824]I want to know what are the usages of $_SERVER and $_ENV in php. Or for what they can be used.[/QUOTE] Both $_SERVER and $_ENV give you information on the environment your PHP script is running in. $_SERVER is an array of useful information about the server, and HTTP Request. …

Member Avatar for digital-ether
0
64
Member Avatar for ashish100

[QUOTE=ashish100;676386]can anybody help me out in using .htaccess file...for rewriting url... I have made a .htaccess file with 2 conditions (that are responsible to check whether file exist or not), I have given only one rule there.It is working but when I give one more rule...It stops working.It gives some …

Member Avatar for digital-ether
0
53
Member Avatar for mouryan3108

[QUOTE=mouryan3108;674096]Hello members i am developing an application where user registers and uploads music files to server and if je wishes listens to music present in the portal............problem is this is my first to this type of application.........please any one help me ............. please guide me how to upload audio files …

Member Avatar for digital-ether
0
695
Member Avatar for architact

Thought I'd add another example: [CODE=php]/** * Returns a random Alpha-Numeric string * @param Int $len Length of string to return * @return Str */ function randAlpha($len = 15) { $str = ''; for($i = 0; $i < $len; $i++) { $rand = rand()%36; $str .= chr($rand > 10 ? …

Member Avatar for architact
0
101
Member Avatar for srinivas1236

[QUOTE=srinivas1236;673640]hi ,goodmorning to everybody,,, i have two dropdowns and one row for entering data., one dropdown having days and anotherone having 1 to 15 no's. when i click on 1st dropdows, i select the presenet date.after that i click on 2nd dropdown and selected 5rows. now i need 5 rows …

Member Avatar for digital-ether
0
97
Member Avatar for siddharthkumarr

[QUOTE=siddharthkumarr;672746]hello everybody...i m a newbie and struggling with a small assignment which involves 1- creating a dynamic array for floating point numbers 2- comparing adjacent numbers and finding the CORRELATION COEFFICIENT.... can u tell me what functions to use so dat i can start of with?? i wud b rlyyyy …

Member Avatar for digital-ether
0
52
Member Avatar for rati

[QUOTE=rati;672917]Hi All, I am trying to create the instance of a class without using new. [code] class StaticVar { public $i; function __construct() { $i=8; } public function StaticVar() {} public function display() { echo $i; echo $count; } } $instance = new StaticVar(); StaticVar $instance2; $instance->display(); $instance2.display(); [/code] It …

Member Avatar for digital-ether
0
78
Member Avatar for knrakesh

[QUOTE=knrakesh;671996]Hello friends, can any one tell me how to make [B]Tabs[/B] ina website just like in this forum like home,forums tutorial etc and how to make [B]Logos[/B] for a website freely please tell thank u Rakesh Nagekar[/QUOTE] Hello Rakesh Nagekar, The tabs on this website are achieve through HTML and …

Member Avatar for digital-ether
0
173
Member Avatar for enim213

[QUOTE=enim213;669649]can anyone give me a hand.. any idea how to do the following requirements.. i can't start please help.. i have two tables to compare.. it has so called rates.. its buying rate and selling rate(diff table), before i update new buyingrate.. it has to check selling rate (must be …

Member Avatar for enim213
0
302
Member Avatar for nagas
Member Avatar for digital-ether
0
116
Member Avatar for midget

If you probably be easier for you to look at it from the client side. If you use Firefox, install the Firebug extension, and take a look at the cookies being sent in the HTTP headers.

Member Avatar for digital-ether
0
682
Member Avatar for almualim

[QUOTE=almualim;668991]how to adding code into a search engine does not serve the Arabic language[/QUOTE] Are you trying to modify the code for a search engine so that it will support searching of a text encoded in Arabic? What search engine is it and what PHP version? Will you need to …

Member Avatar for digital-ether
0
63
Member Avatar for coco86

[QUOTE=coco86;668982]i hv problem installing apache + php + mysQL .. it seems that i fail to load PHP module in the httpd.conf anyone can help me ? i am very pleased .. thank you[/QUOTE] Could you post details on the environment you are installing in. Is it windows or linux? …

Member Avatar for digital-ether
0
100
Member Avatar for hyperoctave

[QUOTE=hyperoctave;563969]Hello.. I musy apoligize in advance for this, since this thread will be pretty much dedicated to my website, but hopefully if anyone has any tips or solutions on how to debug HTML, Javascript and CSS, others will find useful information here. My problem is simple. My website does not …

Member Avatar for gertrude
0
174
Member Avatar for veledrom

[QUOTE=veledrom;663911]I'll try your solutions and let you guys know. Thanks[/QUOTE] If you're making a HTTP Request that creates an update on the server, then you should use the POST HTTP Method. Right now your FORM is doing a HTTP GET, change the action to POST in order to make a …

Member Avatar for digital-ether
0
216
Member Avatar for blood08

You won't be able to see any errors since you have a redirect to a new page. Put a die(); before youre redirect while you test so you can see if there are errors. Also make sure you have error reporting enabled and set to max. [code=php] error_reporting(E_ALL); ini_set('display_errors', '1'); …

Member Avatar for digital-ether
0
118
Member Avatar for e_velkova

[QUOTE=e_velkova;657364]Hi! It's really a silly question, but i've tried many ways to do it and it's still worthless.... :( I have a form: [code]<form action="jobapp.php" method="POST" name="app"> Please, enter your name: <input type="text" name="applicant" /><br /> Please, enter your telephone number: <input type="text" name="telephone" /><br /> Please, enter your e-mail …

Member Avatar for e_velkova
0
261
Member Avatar for lydia21

[QUOTE=lydia21;654885]hi can u please tell me how to convert html page into word document so tat the user can download the page in html format[/QUOTE] Do you mean convert a word doc into HTML? Thats the only way they can download it in HTML.

Member Avatar for mexabet
-1
97
Member Avatar for digital-ether

[B]Please excuse the length of this post:[/B] I'm trying to integrate OpenFire (XMPP Server) with a Joomla (CMS) user database. Openfire allows authentication against an external database by editing its configuration. In the configuration you have to supply the query that will retrieve the password from the external database, given …

0
94
Member Avatar for mahaguru

[QUOTE=mahaguru;654321]Is there any way to initialize a class public variable at the time of object creation. But the case is that I have a child class and I dont want to over ride the parent constrctor. So is there any way out or any function that will be called at …

Member Avatar for digital-ether
0
85
Member Avatar for forwardlookguy

[QUOTE=forwardlookguy;654450]I'm trying to decode a variable the user inputs into two different things, depending on the input. Here it is in context: User inputs 591P1001; 59 is the year, 1 is the series, P is the assembly plant and 1001 is the CUN. Now on the same page, if the …

Member Avatar for digital-ether
0
103
Member Avatar for ihateusernames

[QUOTE=ihateusernames;654635]Hello there everyone. For a summer project I'm doing, I have to use a phone to pass an image I've taken (on the phone) to a dedicated server I've made on a local ubuntu machine. For the upload code, I decided on python (seeing on how its easy to learn, …

Member Avatar for digital-ether
0
145
Member Avatar for adaykin

[QUOTE=adaykin;649692]No that's incorrect. If you look at the original post, my header is: Header("content-type: application/x-javascript"); I figured out what I was doing wrong though, my database wasn't being altered correctly when I did my update functions I got it working now though, thanks guys![/QUOTE] JavaScript isn't executed if you just …

Member Avatar for digital-ether
0
134
Member Avatar for ishlux

[QUOTE=ishlux;650306]Hi all,,,, i want help i have created an inbox........which is very simple.....like as soon u click which will just display the mails.......from.date,subject.........but after that i dont how to proceed........ i want if i cilck on subjet it should display the contents.......how to do all these just explain me.................pls give …

Member Avatar for digital-ether
0
97
Member Avatar for Keased

You have the javascript within the PHP loop. You need to take it out so that it loads only once.

Member Avatar for ~s.o.s~
0
84
Member Avatar for websurfer

[QUOTE=websurfer;649715]Hello, All: I have a php enabled site, and as of late it's been doing the strangest thing, when I make any changes to any of the pages residing under the main html site folder, they seem to take forever to upload (be it pages or images); but if I …

Member Avatar for websurfer
0
89
Member Avatar for praveen_dusari

[QUOTE=praveen_dusari;650259]hi all, i have a problem retrieving videos from database ,when i echoed sql query the video is selected and the video path is also correct but it is not playing the video please help me thanku in advance[/QUOTE] What are you using to play the video? A flash player? …

Member Avatar for praveen_dusari
0
86
Member Avatar for Venom Rush

[QUOTE=Venom Rush;650398]Ok, so then 1 minute would be written as 60 and 1 hour as 3600 and 1 day as 86400?[/QUOTE] PHP can measure time in seconds using the time() function. [url]http://www.php.net/time[/url] or you can use microtime() which is a measure of time in microseconds. [url]http://www.php.net/manual/en/function.microtime.php[/url] The PHP timestamp is …

Member Avatar for Venom Rush
0
104
Member Avatar for himi

[QUOTE=himi;649704]Hi, I have made a webpage with 3 divs and have put images / text on these pages which can be dragged. I want to limit the area in which the user can drag the text. The user will be allowed to drag the text from the left div to …

Member Avatar for digital-ether
0
97
Member Avatar for justinman

[QUOTE=justinman;643884]I recently discovered that IE6 will display a blank screen if you are in SSL and you click on a link that points to a UTF-8 page. However, if you refresh the page will be displayed. However, even if the page contains a link to itself, clicking on the link …

Member Avatar for martin5211
0
101
Member Avatar for einfoway

[QUOTE=einfoway;642730]We are creating one application in which we pick a form from other website and show it on our website. Once the user fills the form and clicks on submit data is submitted 3rd website. This requirement is one of our application specific. With help axaj we have done so …

Member Avatar for digital-ether
0
79
Member Avatar for makbot

[QUOTE=makbot;643639]Hi I have programmed a 5x5 'grid' of square buttons and need to store the buttons the user clicks on (in order) so that i can ask them to recall the sequence later. I think this requires server side scripting and installed XAMPP for PHP on my mac... I have …

Member Avatar for digital-ether
0
139
Member Avatar for akshit

If you want to select just one column, then make sure you ask for just one column. If you only need one row, then limit the results to one row... eg: [CODE] SELECT column1 from table1 where {condition} LIMIT 1[/CODE] The insert you want can be done with the result …

Member Avatar for digital-ether
0
192
Member Avatar for chriscapetown

[QUOTE=chriscapetown;637400]Hi. This is a piece of code that I wrote for a one of my modules in Joomla 1.5, and im afraid im not skilled enough yet to do this procedure in the correct way.. Please can someone help me structure this code in the right way - the actual …

Member Avatar for digital-ether
0
211

The End.