8,966 Posted Topics

Member Avatar for Gerald19

index.html will not be parsed by default as a php file. If you rename it to index.php it will work.

Member Avatar for vincent2085
0
69
Member Avatar for fuzkabir

The first link in your post explains what settings to use. Don't know about lunarpages, but some hosts need information in two places, an "allow remote" (server setting) and a "white list" (firewall setting). Maybe there's another setting you need. Ask you provider.

Member Avatar for pritaeas
0
123
Member Avatar for DealthRune

You are missing quotes around the string columns in your query. [code=php] mysql_query("INSERT INTO forum_sub_cats (sub_cat_name, forum_cat_name, desc) VALUES ('$name', '$cat_name', '$desc')") or die(mysql_error()); [/code] Note that you may also need to use mysql_real_escape_string() if you use single quotes in your texts.

Member Avatar for DealthRune
0
95
Member Avatar for winwin

Don't know the structure of your tables, but I think you could create a join between the two, thus creating a unique_email column and a shared_email column. You can then use an IF to select the right one.

Member Avatar for debasisdas
0
138
Member Avatar for stevenpetersen

This is part of my google script. Hope this helps: [code] var _map; var _geocoder; var _marker; var _objLocation = null; var _address = null; var popupWindows = []; var gMarkers = []; var markerCount = 0; var gAddress = []; var gDescription = []; function addItem(pLat, pLong, pTitle, pAddress, …

Member Avatar for pritaeas
-1
608
Member Avatar for manojjena1982
Member Avatar for pritaeas
0
75
Member Avatar for i101dotcom

Can you be a bit more specific ? Are you looking for a newsletter php script ? Google will give a lot of results.

Member Avatar for pritaeas
0
68
Member Avatar for sarithak

See this page: [url]http://mail.google.com/support/bin/answer.py?hl=en&answer=13287[/url] for the correct server and port to connect to gmail.

Member Avatar for pritaeas
0
82
Member Avatar for manojjena1982

1. is the mcrypt extension in the php.ini ? 2. does the extension_dir point to the directory where mcrypt.so or mcrypt.dll is located ?

Member Avatar for pritaeas
0
80
Member Avatar for Robert Plant

Replace the connect with this: [code=php] $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die (mysql_error()); [/code] It will show you what's wrong, or guide you in the right direction.

Member Avatar for phpbeginners
0
138
Member Avatar for schaef2493

It's probably an array, where in the template it is used inside a foreach loop. Without more of the tpl it is hard to say.

Member Avatar for cwarn23
0
85
Member Avatar for Rui Russo PT

[code=php] if (strcmp($x_password, $x_password_conf) != 0) { $erros = 1; $erro_conf_password = 'As passwords não coincidem'; } [/code]

Member Avatar for pritaeas
0
36
Member Avatar for rajeshsprabhu

Start session: [code=php] if (! session_id()) session_start(); [/code] You can use session_destroy() to delete an existing one. For more info, see: [url]http://php.net/manual/en/book.session.php[/url]

Member Avatar for pritaeas
0
46
Member Avatar for ajri02

It doesnt really matter if you put in in the <head> or somewhere within the <body>. Note that it takes a day for google to show your data. (Unless you are using the wrong tracker id)

Member Avatar for sknake
0
187
Member Avatar for arunner

Yes, you can, but mysql won't accept the double quotes. If the id field is an integer, you can remove them. If it is a string field, use single quotes instead. There may be an issue when the id field is an auto-increment field. I think you're not allowed to …

Member Avatar for arunner
0
142
Member Avatar for san_crazy
Member Avatar for mansi sharma

\w means a word character + means one or more \- means dash \. means . * means zero or more it represents a simple check to see if the email address is valid

Member Avatar for pritaeas
0
79
Member Avatar for crohole

You can try this in google search: link:[url]www.crohole.com[/url] But it will not show all, I'm sure. If you add your site to Google, Bing and/or Yahoo websmaster tools, you can get a more complete list, although I doubt it will ever be exhaustive.

Member Avatar for pritaeas
0
75
Member Avatar for complete

mysql is not enabled. check your php.ini file. [url]http://nl.php.net/manual/en/mysql.installation.php[/url]

Member Avatar for Robert Plant
0
246
Member Avatar for danimal132

[code=php] foreach ($arrFeeds as $idx => $item) { echo $idx . ' ' . $item['title'] . ' ' . $item['date'] . '<br/>'; } [/code] This will loop the items, show the index, name and date

Member Avatar for pritaeas
0
88
Member Avatar for qlooney

[url]http://dev.mysql.com/doc/refman/5.1/en/regexp.html[/url] I think it should be this: SELECT * FROM tbl_movie WHERE ori_title REGEX '^[0..9]+.*'

Member Avatar for pritaeas
0
85
Member Avatar for nostalgia149
Member Avatar for @theDatagame

Is there a reason you search in this way ? It is possible to join the results from all tables in a single query.

Member Avatar for pritaeas
0
113
Member Avatar for syedabdulsamad
Member Avatar for satasonic

I wonder, High and Low return the highest and lowest array index iirc. Isn't he looking for Min and Max ?

Member Avatar for JameB
0
6K
Member Avatar for Djavid

You could add the need for an authorization token, much like e.g. the Google API key You could setup your firewall to allow only verified hosts/ip addresses

Member Avatar for pritaeas
0
70
Member Avatar for flashyflashy
Member Avatar for johnyjj2

end . should be end. (remove the space) Not sure about the first error. Could it be triggered by the $N switch error ? Look for {$N} and remove it (at the top).

Member Avatar for johnyjj2
0
2K
Member Avatar for ayuscomeyh

If you do: [code=php] $sql="UPDATE recipe SET name='$name', bahan='$bahan', cara='$cara', id_category='$id_category' WHERE id='$id'"; echo $sql; [/code] What query do you see ? You can then test this query e.g. in phpmyadmin.

Member Avatar for arajapandi
0
118
Member Avatar for lovenish
Member Avatar for ayuscomeyh
Member Avatar for whitestream6

& is the parameter separator, if you want to pass it as part of the string, use %26 instead.

Member Avatar for whitestream6
0
236
Member Avatar for zeusofolus

Your <a href=""> double quotes weren't closed: [code=php] <?php while ($row = mysqli_fetch_array($result)) { $FirstName = $row["FirstName"]; $LastName = $row["LastName"]; $BillName = $row["BillName"]; $JoinDate = $row["JoinDate"]; $VisitorID = $row["VisitorID"]; $UserName = $row["UserName"]; // Display the Users data echo '<fieldset><legend>Account details for username: <strong>' . $UserName . '</strong></legend>'; echo '<p>Join Date: …

Member Avatar for zeusofolus
0
138
Member Avatar for Eager_Beever
Member Avatar for zachabesh

This could be useful, then you can combine the two: [url]http://www.daniweb.com/code/snippet798.html[/url]

Member Avatar for zachabesh
0
149
Member Avatar for heroic

[code] if (preg_match('/qby:name/m', $subject)) { # Successful match } else { # Match attempt failed } [/code]

Member Avatar for pritaeas
0
46
Member Avatar for jbd4d

If you were to use mysqli instead of mysql, you're able to use multi_query and run more queries as a batch. Maybe that will help. [url]http://php.net/manual/en/mysqli.multi-query.php[/url]

Member Avatar for pritaeas
0
54
Member Avatar for skipbales
Member Avatar for skipbales
0
91
Member Avatar for yash777
Member Avatar for matkene

[url]http://forum.claroline.net/viewtopic.php?f=19&t=5105&start=0&st=0&sk=t&sd=a[/url]

Member Avatar for pritaeas
0
46
Member Avatar for sandeep.nami

It can be used in any boolean expression. [url]http://nl2.php.net/manual/en/language.operators.logical.php[/url]

Member Avatar for samarudge
0
79
Member Avatar for papermusic

Can't see an error. Maybe the file upload had failed ? Recap: [url]http://www.phpriot.com/articles/images-in-mysql[/url]

Member Avatar for papermusic
0
702
Member Avatar for madihalonly

Here's a good start: [url]http://www.west-wind.com/presentations/dotnetwebservices/DotNetWebServices.asp[/url]

Member Avatar for Amigirl824
0
331
Member Avatar for rahul8590

wampserver is not equipped with an smtpserver by default. One option would be to use a tool like phpmailer, to send your emails through your gmail/hotmail/provider account.

Member Avatar for pritaeas
0
96
Member Avatar for braane

As far as I can see from your file, you'll need an extra column in f_topics (sticky), which you can use in the ORDER BY on line 169. Then you will need to add a checkbox to a new post allowing it to be set as sticky.

Member Avatar for pritaeas
0
80
Member Avatar for mbirame
Member Avatar for k2k

[icode]<input type="text" name="state" value=<?php print($state);?> />[/icode] i think the problem here is that the " are missing around the value. Try: [icode]<input type="text" name="state" value="<?php print($state);?>" />[/icode]

Member Avatar for k2k
0
334
Member Avatar for toXXXic

You can test your output and get feedback: [url]http://validator.w3.org/feed/check.cgi[/url]

Member Avatar for pritaeas
0
100
Member Avatar for Shuel
Member Avatar for pritaeas
0
72
Member Avatar for gnarly

If hosting is not a problem, maybe asp.net/C# would be a good choice. Since you already know C++, programming the backend should be a snap. Downside is that hosting is often more expensive, and a bit more complicated than with PHP. But it is also easily integrated with silverlight, for …

Member Avatar for SamSam2020
1
177

The End.