39,323 Topics

Member Avatar for
Member Avatar for dlannetts

Ok, so l am new to php ... sort of, now l have managed to throw this together: [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("test_database", $con); if(isset($_POST['Login'])) { if($_POST['username']!='' && $_POST['password']!='') { //Use the input username and password and check against 'users' …

Member Avatar for dlannetts
0
114
Member Avatar for StefanCP

I have this code, it s a wordpress MU code. The result is a string list of blogs subdomains, on a MU domain. [CODE]$blogs = get_last_updated(); echo 'Most active mommies:<ul>'; foreach ($blogs AS $blog) { echo '<li>'.$blog['domain'].'</li>'; } echo '</ul>';[/CODE] I want that instead of the unclickable subdomains, to get …

Member Avatar for StefanCP
0
141
Member Avatar for sunaruna84

Hi Friends, I have used this mail function it works properly. mail has sent when i submit the enquiry form. i need the "Enquiry posted sucessfully" message will be displayed in enquiry form. please tell the solution for my problem. usermail.php [code] <?php if( isset($_POST['name']) && isset($_POST['companyname']) && isset($_POST['address'])&& isset($_POST['country'])&& …

Member Avatar for harshbavaliya
0
530
Member Avatar for infoStud

guys, good morning...what are the requirements that must be installed for you to call java class using PHP?? thanks for the reply ^_^

Member Avatar for harshbavaliya
0
48
Member Avatar for MDanz

[code] $tags = get_meta_tags($url); $keywords = $tags['keywords'];[/code] this get me the keywords for a website. Just say there are 5 keywords in that one variable. e.g. apple, banana, orange, pear and coconut. how do i insert these 5 keywords in that one variable($keywords) into seperate rows. So insert first keyword …

Member Avatar for rajabhaskar525
0
60
Member Avatar for drewpark88

Hey Guys, I have an If statement in one of my php files. I want to send an email to my client anytime it IsApproved. So how do I make it send an email to the client when it is approved? Here is some of the code, the first if($response->IsApproved …

Member Avatar for phpbeginners
0
242
Member Avatar for Campbel

So I have a bit of a problem... A la I am posting on this forum. If you will bare with me for a short narrative I can explain the situation. Currently a department in my school is involved in a Weather data collection project which they have asked me …

Member Avatar for phpbeginners
0
315
Member Avatar for morecrab

Hi all, How to retrieve client's ip address, mac address, and others hardware address ? Also, how to detect user end device (whether computer, notebook, pda, ...) ? Is that all possible ? Thanks, :)

Member Avatar for morecrab
0
2K
Member Avatar for aryanmughal

Hello Everyone i need your help in making this code kindly help <img src="http://i45.expamle.com/35i4o5t.gif"> i want this image to load in a page by calling it like http://www.example.com/tp.php?code=35i4o5t.gif but the problem making area is that the server information changes on every image can someone make it for me ...... <img …

Member Avatar for cwarn23
0
78
Member Avatar for divyakprabh

how to write a php code such that a link specified must directly display the contents of the link in the browser..?? thanku,

Member Avatar for diafol
0
91
Member Avatar for drewpark88

No one has an answer to a problem I thought would be easy. I guess it is too complex. That sucks. If you think you can solve it I posted it here on dani web and the link to the thread is below: [url]http://www.daniweb.com/forums/thread258226.html[/url] or [url]http://www.daniweb.com/forums/thread258197.html[/url]

Member Avatar for Ezzaral
0
86
Member Avatar for JRM

I have this contact form that emails inquiries from a web site. From time to time a email like this comes through. [QUOTE] From: gbvxits Email: [email]vauuol@wehwmw.com[/email] Inquiry: 9a8Lje gojaxfuklmfu, [url=http://cpjnzhrwlhwq.com/]cpjnzhrwlhwq[/url], [link=http://vshgvcdvxjea.com/]vshgvcdvxjea[/link], [url]http://sfiipmxeqijr.com/[/url][/QUOTE] What is the point of this? Why would they put the gibberish and URL stuff in there?

Member Avatar for diafol
0
297
Member Avatar for tryphy

Hi people, I would like to send automatic email reminder to people, by calendar preset dates...The peoples email address are taken from 2 diffrent tables.. How do get the email add from the different tables and send automatic email reminders on system date... I think its somethink lik retreive all …

Member Avatar for Jerail
0
2K
Member Avatar for umandajayo

I have a form with 2 textboxs. with js handling [CODE]<script type = "text/javascript"> function autofill(which) { document.getElementById("text2").value = which; } </script> <input type="text" name="text1" onblur="autofill(this.value)" /> <input type="text" name="text2" />[/CODE] So According the above js, when user type some thing on text1 text box automatically update it to the …

Member Avatar for Jerail
-2
149
Member Avatar for diafol

Something odd going on with str_replace. When I replace a set of double characters with another set (double characters), I get a text length increase of 1. [CODE]$gw = array("ll","ch"); $gw2 = array("lž","cž"); $cw = array("&acirc;","&grave;"); $cw2 = array("â","à"); $s = str_replace($cw,$cw2,$s); $s = preg_replace('~[^\\pL\d]+~u', '-', $s); $s = trim($s); …

Member Avatar for diafol
0
111
Member Avatar for drewpark88

Hey guys, I have a problem, my process_transaction.php page was working fine before I added some code to it....but I need that code to work. I added an if statement that should send an email to my client's once my process_transaction.php has determined whether or not the payment has been …

Member Avatar for drewpark88
0
306
Member Avatar for vanessia_1999

I am having two problems dealing with images. I am trying to make an uploader for the user to post picture of a meal or food item. I have the uploader to show and the browser open but it does not go to my databasebase name "recipe" to the table …

Member Avatar for bharanidharanit
0
90
Member Avatar for veledrom

Hi guys, I am having difficulties to purchase a HONEST and DECENT Linux hosting for my PHP + MySQL website. I am asking you to suggest me one or two based on your experiences because most of hosting companies offer very exciting stuff but most of them are hustlers (I …

Member Avatar for mschroeder
0
892
Member Avatar for Multivariate

I'm trying to add the "Amazon Style Drop-in Content Box" from the Dynamic Drive site into a Joomla template. I don't know Joomla very well and I've followed the tutorials. Basically, this drop in box contains a SWF file that references an FLV video. The background is transparent and I …

0
40
Member Avatar for MDGM

hi all, I have a php script that saves what the user types in into a text file using fwrite, and displays it on another page using file_get_contents. When putting in a pound sign (£), it saves the following to the text file: £ Any idea how I can stop …

Member Avatar for almostbob
0
238
Member Avatar for paddy100

Hi Guys, probably a easy thing to do but I ve scoured the length and breadth of t'internet to no avail. I am a newbie to php who is looking to finish a site off in php. What i will have is a mysql table with id image title url …

Member Avatar for Graphix
0
101
Member Avatar for vishalonne

Is there a way to do Audio and video conferencing using php? Is there ant open source tool through which I can do Audio and video conferencing using php from my Web site?

0
59
Member Avatar for lifeworks

Hi Need some advice - Ive been going more and more OO in my coding, just coming into some best-practice issues... Lets say I have a User object, and the user has some contact details... whats preferential, to call the getUserDetails() and include the layout HTML in that method, or …

Member Avatar for blocblue
0
92
Member Avatar for whiteyoh

Hi All, I have a number of different tables storing various bits on information. Ib wanting to create a control panel for it, which will initially give a record count for each table. How can i run queries from multiple tables in one connection? Ive tried connecting then running a …

Member Avatar for adamramadhan
0
478
Member Avatar for takeshi

Knows the code importing file in mysql using php? that would save all the data saved in excel to mysql database..tnx GOdbless

Member Avatar for takeshi
0
96
Member Avatar for azegurb

hi all I took PHP news script from Turkish site it is good news script but it has a little disadvantages for example i fill all regurired fields and submit it shows first recently added news and picture one in a large format and one in a little format but …

0
198
Member Avatar for phpDave

Hi, I''m trying to learn how to send emails to registered users with php mail function. Been online a lot and getting confused. I was wondering if anyone could explain how the set up is done and what is needed to accomplish this task. Any input on this topic would …

Member Avatar for phpDave
0
141
Member Avatar for cailles20_1009

I'm a beginner in php this is my upload form which uses php_self.. there's a parse erro in line 33...... which is I don't know why... can anyone help me <?php $target="upload/"; $basename=basename($_FILES["file"]["name"]); $target=$target . basename($_FILES["file"]["name"]); if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; …

Member Avatar for urtrivedi
0
48
Member Avatar for peck3277

Hi Guys, Hoping someone can help me here. I am building a sports supplements e-commerce sitev using php and a mysql database. As such when someone goes to buy an item they have multiple choices i.e size and flavour of a certain product. Someone selects a product they want to …

Member Avatar for Jerail
0
75
Member Avatar for jesy83

I had never used this new model of software development but i was reading about it. it sounds good. Database in one level, code and clases in other level and views in third level. Im thinking to migrate my application M-V-C. Somebody have experience with it?

Member Avatar for JRM
0
73

The End.