39,323 Topics

Member Avatar for
Member Avatar for Dilbert137

Dear All, I'm developing a website which must have a link to an oracle database. does anyone knows how to configure OCI on a linux server. Thanks and Best Regards Dilbert137

Member Avatar for cjbj
0
59
Member Avatar for genieuk

Hello, I was going to post the full script but don't think it will ne needed. Basically i have this query: [CODE]// query db $query = mysql_query("SELECT * FROM `userinformation` WHERE `username` LIKE '%$search%' OR `email` LIKE '%$search%' OR `id` LIKE '%$search%' OR `first_name` LIKE '%$search%' OR `last_name` LIKE '%$search%' …

Member Avatar for Atli
0
243
Member Avatar for Zagga

Hi folks, I'm having a real "Dime Bar" moment! :-/ I have written a small function to display error messages. I can't work out why I have to use a preceeding slash to include my footer.php but not my header.php when they are both in the same directory. [CODE=php] function …

Member Avatar for Zagga
0
112
Member Avatar for Venom Rush

Hi all I'd like to know how/if you can pause a loop for a few seconds and let it start again from where it stopped.

Member Avatar for Venom Rush
0
71
Member Avatar for cane23

i am trying to use the explode function to take a variable as the string under consideratiom but its not working. can some one help me on this one please?? thanks [code] <?php $hostname = "localhost"; $username = "root"; $password = "hayden"; $database = "ecng3020"; $con = mysql_connect("$hostname","$username","$password"); if (!$con) …

Member Avatar for nav33n
0
83
Member Avatar for mangel.murti

hello all,,,, i want suggestion is it be possible to create a samll shopping cart system with only php session no database no txt file for storing values....? thnx in adve.

Member Avatar for kireol
0
57
Member Avatar for sam023

i want to convert hexa to string in php... i google and and got this function... [code=php] function hexToStr($hex) { $string=''; for ($i=0; $i < strlen($hex)-1; $i+=2) { $string .= chr(hexdec($hex[$i].$hex[$i+1])); } return $string; } [/code] it works but not in case of " 062E063506450020003500300030002E0030003000300020004B005700440020064506460020062D06330627062800200032003500380038062706440645062A06280642064A00200031002C003400320031002E0036003100320020004B005700440020062706440645062A06480641063100200031002C003400320031002E0036003100320020004B00570044 " kingly guide me little …

Member Avatar for digital-ether
0
138
Member Avatar for muralibobby2015

i am getting this error but i think there is no error. any one look at this [CODE]$affiliateForm = array( "username"=&gt;array("User Name","text",""), "password"=&gt;array("Password","password",""), "site"=&gt;array("Your Web Site","text","http://"), "email"=&gt;array("Your Email","text","yourname@yoursite.com"), "akey"=&gt;array("","hidden",""), "ptype"=&gt;array("Payment Method","select","check|paypal"), "pemail"=&gt;array("Paypal Email","text",""), "address"=&gt;array("Your Address","textarea","") );[/CODE] i am getting [B]Parse error: parse error, unexpected '=', expecting ')' [/B] on this …

Member Avatar for pritaeas
0
70
Member Avatar for kissmyawesome

Hi, I'm using FPDI and TCPDF to generate on-the-fly PDF documents, using existing PDFs as templates. So far so good. What I really need is the ability to create a 2-column layout, as per the FPDF tutorial here: [URL="http://www.fpdf.org/en/tutorial/tuto4.htm"]http://www.fpdf.org/en/tutorial/tuto4.htm[/URL]. Normally FPDF works fine, but I need to combine this layout …

0
47
Member Avatar for Scooby08

I have a small problem I'm thinking.. I have a form that lists items and next to each item there is a input text field for the user to choose the quantity of each item they wish to order.. When the form is run through it spits out this array: …

Member Avatar for jerickduguran
0
12K
Member Avatar for xuexue

i just want to know, how can i put a live bar graph in a dynamic page? thanks in advance ^^

Member Avatar for xuexue
0
140
Member Avatar for dan_ord

Hi all, I'm having a problem getting a cron job to execute properly. I'm using my hosting control panel to set the task up and execute a script. What I want the script to be able to do is search for jobs that were posted over 7 days ago, loop …

Member Avatar for cwarn23
0
153
Member Avatar for dazlerd

Hi I am currently working on a web site which I had to modify to add the option of either using pounds or euros forthe pricing. I have two image input types which onclick I want to set the session variable $_SESSION['currency'] to GBP or EURO, and then refresh the …

Member Avatar for FlashCreations
0
171
Member Avatar for asadzaheri

Hi everybody, would you please tell me what's wrong with this code that generates the following error: Warning: fopen(C:\Documents and Settings\Sando\Desktop\boys.gif) [function.fopen]: failed to open stream: No such file or directory in /home/domain/public_html/webs/divisions/chek.php on line 108 [B]data inserted without any picture[/B] although it works fine and great @ localhost MySQL …

Member Avatar for FlashCreations
0
419
Member Avatar for stanfordftw

Need help with my registration code for my site. Read through it if you may and tell me if there are any errors. (And where do I place this in the page?) [CODE]<?php // Connects to your Database mysql_connect("database.accdb", "", "") or die(mysql_error()); mysql_select_db("users") or die(mysql_error()); //This code runs if …

Member Avatar for stanfordftw
-1
81
Member Avatar for itisnot_me

ok so just ran into a problem using tinyint instead of int i have hit the 127 max. but i did not realize that on time and now i have about 100 entries that i need to fix with a loop to do an increment of a counter this is …

Member Avatar for itisnot_me
0
102
Member Avatar for itisnot_me

ok so what i want to beable to do is have a coded up website template (with php in it) that is stored in the DB. and i would like to call it in a query. That part works fine but what doesnt work is the php being called from …

Member Avatar for itisnot_me
0
300
Member Avatar for cableguy31

I have a php script that sends the contents of a form via email. I have some error checking in the script to make sure that the required fields are filled out. Right now, if there's an error, it just displays an error, with what's missing on a simple html …

Member Avatar for vaultdweller123
0
109
Member Avatar for Erick

Hello to everyone, I'm new here - Great forum. I would like to update an entire database at once. I use Mysql database and PhP scripts. I explain : I have to update prices in one column of the DB by puting +10% This is what I have but it …

Member Avatar for almostbob
0
209
Member Avatar for dinoservers.com

Hi, I've seen so many sites that have [url]www.domain.com/downloads?420[/url] or ?222 and so on. I am in the middle of making a upload script but i also want it to add a link to the downloads page to the file. Im not sure how this should be done and i …

0
47
Member Avatar for Sameer1

HI all, I am trying to display user (ad displayname) welcome message on my web site but I am not sure how to achieve it. I found somthing online but that doesn't make any sence to me as I dont have nay value of $user_ID in the below code, [CODE]< …

Member Avatar for SameerMughal
0
192
Member Avatar for gunnarflax

Hi, I created a script which I use to clean my database from missing entries. With it I both check if a file on the server is missing a database entry and if a database entry exist with no corresponding file on the server. The user first submits a form …

Member Avatar for gunnarflax
0
147
Member Avatar for Phaelax

User fills out a web form containing about a dozen or so combo boxes. As each comboBox has its options filled from values contained in a database, this limits what the user can input. However, as we know this can be bypassed, hence the need for validation even on a …

Member Avatar for Phaelax
0
109
Member Avatar for sarithak

hi frnds, here i m using AJAX code for posting variables..when i submit the form , then the GET variables are taking like this.. [QUOTE]hi%20h%20r%20i[/QUOTE].. how can i solve this problem.. plz go through the code.. [CODE] //javascript code... function get(obj) { var poststr = "name=" +escape(encodeURI( document.getElementById("name").value )) + …

Member Avatar for digital-ether
0
87
Member Avatar for emhmk1

Hi everyone, i was wondering if you could help me out, i'm working on a project where the user can login from any part of the site and a function is called when the button is clicked. The problem is if the user for example is on this url [url]http://localhost/profile.php?id=12[/url] …

Member Avatar for emhmk1
0
234
Member Avatar for DealthRune

This one is a messaging system! Made it myself, works great! Hopes you like :)

Member Avatar for jamied_uk
1
256
Member Avatar for jagadeshms

I wrote a simple code in java script and it is working fine with IE and not in Firefox but the out put in php array count is correct in IE but not correct in Firefox[code]I wrote a simple code in java script and it is working fine with IE …

0
60
Member Avatar for dinoservers.com

Im in the middle of making a filesharing site but would like more people to join the team and advertise it! And of course build it :) Who will help? Im on all day and i will be checking for new posts every 5 mins :)

0
50
Member Avatar for grouchotron

I'm attempting to write a script that logs into a web site, navigates through some links, stores some data to a text file, and logs out. I was able to log on with ease, using WWW::Mechanize. However I'm having trouble navigating through the actual website, because instead of just a …

0
54
Member Avatar for AdventDeo

[CODE].... <table id="tbl"> <div id="xtra" style="display:none; visibility:hidden"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div> <div id="dname" style="display:none; visibility:hidden"> <input name="Name[]" type="text" size="35"> </div> </table> .... <input type="button" name="Add" value="More Company" onclick="return AddRow();"> .... //the following javascript function is saved in another .js file which is then called from the main php file when the …

Member Avatar for AdventDeo
0
150

The End.