Forums Page 69
-
check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard method used for checking to see if a value exists in…
-
Alternate messaging
I have 4 strings in MySQL db1 $string1 : Hello $string2 : Hi $string3 : Great $string4 : Thanks And I have 3 accounts MySQL db2 $User1 : $Pw1 $User2…
-
Warning: session_start() headers already sent error - Driving me Nuts!
I am trying my sister in laws site and I keep getting an error with my coding. I am more of a designer than coder and I can't figure this out. It is…
-
Default TimeZone
The server I'm working with is hosted in America so all times inserted into the database are coming out 5 hours differen't to what I want them to. I…
-
defining website tags
Hi, What would be the best way to define tags for my site, such as website title, url etc. Should I just use somethng like: $website_name = "name"…
-
Windows 7
Windows 7 default user account control worries experts. Corporate IT departments should be pleased with new security measures in Windows 7, but…
- Advertisement
-
why preg_match_all does not return the number of matches
My regex looks like X[^x{4e00}-x{9fa5}]*Y (where X and Y are two Chinese characters) and my expression looks like preg_match_all("/".$regex."/iu"…
-
login and redirect
hello! can someone help me.. can you give me an idea.. I want to make a login page and redirects it to different web page depending on the username…
-
Checking if field is empty AND using !is_numeric
Hi lads, Need to be able to display an error message (using isset?) that says "Cant leave field blank" when someone clicks on submit after leaving…
-
Mail sending is slow on server
Why mail is taking time to be send on apache-linux server
-
How to generate a text file using php...?
Hi, Can anyone give me code to generate a text file using php Thanks in advance
-
the problem with str_replace
$str="hahahahahahahahahahahahahaha"; $nn=1; $str=str_replace('ha','MyGod',$str,$nn); echo $str; the result is…
-
article site help remaining text
Hi all hope you will be fine I am creating a article site in this site i want to put some text on main page and link it via "read more" text from…
-
how to read and write into a word document using php...?
hi, I need,reading and writting into a word document using php. Thank u inadvance, Madhu
- Advertisement
-
Character increment
Hi, I am facing a scenario like above,but in my case i want to show up like Col A,Col B etc....The container where i am displaying this is being…
-
Print 'a' to 'z' via for loop
A very simple problem.. How Can I print a to z NOT a to y ? It is a part of a code where | $alpha= 'a';for($alpha='a';$alpha!='z';$alpha++){echo…
-
Deleting a record php
Attempting to setup delete a record page. The below code I put together doesn't seem to work. | <?$delid=$_GET['delid'];echo…
-
Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system Say I go to http://www.website.com The page that processes the login…
-
firefox wouldnt stream mp3 files completely from my php page
hi everyone, I have a php file trying to read and stream mp3 files. It works fine in IE but my problem is Firefox streams only 3 seconds of them…
-
Please help with code for SMTP authenticated PHP email form
Hello, I'm creating a PHP email form, and for this particular server, I have to use SMTP Authentication. They hosting service sent me this link…