39,323 Topics
| |
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' … | |
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 … | |
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'])&& … | |
guys, good morning...what are the requirements that must be installed for you to call java class using PHP?? thanks for the reply ^_^ | |
[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 … | |
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 … | |
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 … | |
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, :) | |
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 … | |
how to write a php code such that a link specified must directly display the contents of the link in the browser..?? thanku, | |
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] | |
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? | |
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 … | |
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 … | |
| 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("â","`"); $cw2 = array("â","à "); $s = str_replace($cw,$cw2,$s); $s = preg_replace('~[^\\pL\d]+~u', '-', $s); $s = trim($s); … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
Knows the code importing file in mysql using php? that would save all the data saved in excel to mysql database..tnx GOdbless | |
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 … | |
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 … | |
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 />"; … | |
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 … | |
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? |
The End.