8,966 Posted Topics

Member Avatar for almualim
Member Avatar for almualim
0
87
Member Avatar for zainul.dss
Member Avatar for ShawnCplus
0
327
Member Avatar for quecoder

[url]http://www.ietf.org/iesg/1rfc_index.txt[/url] Technical detail: see the specifications and protocols for ICMP, FTP, HTTP etc.

Member Avatar for ericstenson
0
183
Member Avatar for spiderling

Did you try removing the content-length line ? see php.net/readfile, first comment.

Member Avatar for spiderling
0
114
Member Avatar for kashmir323

You would need only one separate html form with the fields you'd like to enter into your db. Post that to a php script which does the insert. That should be it. The tables then need to be dynamically created from the db. That's not hard either. It's even possible …

Member Avatar for pritaeas
0
90
Member Avatar for darkagn
Member Avatar for darkagn
0
144
Member Avatar for kings

Is this file perhaps included by another one ? Then maybe that one causes the error.

Member Avatar for effu
0
99
Member Avatar for queenc

1. Is 'allow_url_fopen' set to 'on' in your php.ini ? 2. From php.net/file: Note: If you are having problems with PHP not recognizing the line endings when reading files either on or created by a Macintosh computer, you might want to enable the auto_detect_line_endings run-time configuration option.

Member Avatar for kevin wood
0
123
Member Avatar for dottomm

The echo after your mail() displays different variables then those you use in generating the email mesasge body. So are you really sure it works ?

Member Avatar for dottomm
0
1K
Member Avatar for djnzak

You could use a .htaccess file containing a Redirect. Google both words for lots of articles on the subject.

Member Avatar for pritaeas
0
45
Member Avatar for electromania

If port forwarding is enabled to your machine running xampp, then it should work. If you enter your external ip-address in your browser, you should see your page.

Member Avatar for pritaeas
0
28
Member Avatar for Fenerbahce

[url]http://dev.mysql.com/doc/refman/5.0/en/create-procedure.html[/url] [url]http://dev.mysql.com/doc/refman/5.0/en/call.html[/url]

Member Avatar for pritaeas
0
97
Member Avatar for trashed

if you want to continue your for loop then use 'continue' instead of 'break'. Just a note: mysql has a YEAR and MONTH function you can use to simplify your query.

Member Avatar for pritaeas
0
147
Member Avatar for Big Mountain

Try TOAD, it's free (toadsoft.com). Navicat is my tool of choice, but this one is commercial (navicat.com).

Member Avatar for mwasif
0
126
Member Avatar for XcentricX

It may be possible to do this by using REGEX in the WHERE clause. It will be a complicated one, but maybe someone here has more experience with it.

Member Avatar for pritaeas
0
99
Member Avatar for carobee

[url]http://www.freebsddiary.org/untar.php[/url] You need to untar the file that has been unzipped, see above link.

Member Avatar for carobee
0
1K
Member Avatar for LucidNonsense

It means that you are trying to update a foreign access_id, which is not yet in the userAccess table.

Member Avatar for pritaeas
0
74
Member Avatar for lydia21

If you're using MySql then you could set the storage engine to MyIsam and use the fulltextsearch capability. See the MySql docs for more info.

Member Avatar for lydia21
0
164
Member Avatar for Venom Rush

Did you try to specify a full path to the file ? And does the PHP user have rights to access this location ?

Member Avatar for Venom Rush
0
75
Member Avatar for timhysniu
Member Avatar for pritaeas
0
100
Member Avatar for s1m0n3

Probably somewhere an error has crept in, maybe no connection, or error in the query. Try: $mResult = mysql_query($mQry) or die(mysql_error()); to see if anything is going wrong.

Member Avatar for pritaeas
0
91
Member Avatar for LindaF

For development I have WAMP installed on one machine, and XAMPP on another. For the actual PHP code I use EditPadPro. For debugging Zend.

Member Avatar for fatihpiristine
0
619
Member Avatar for desiguru

Create a html form like this: [code] <form action="search.php" method="post"> <input type="text" name="search"><br> <input type="submit"> </form> [/code] search.php [code] <?php $search = "%" . $_POST["search"] . "%"; mysql_connect ("localhost", "myuser", "mypassword"); mysql_select_db ("mydatabase"); $query = "SELECT mycolumn FROM mytable WHERE mycolumn LIKE '$search'"; $result = mysql_query ($query); if ($result) { …

Member Avatar for SheSaidImaPregy
0
2K
Member Avatar for DennisP

See here: [url]http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html[/url] and search for QUERY_STRING

Member Avatar for shovels
0
107
Member Avatar for athindran

For me the most notable differences would be case-sensitivity in files and security issues (users/groups).

Member Avatar for jbennet
0
87
Member Avatar for phobia1

Do you get an error message ? There is a difference between $username and $userName, did you see that ? PHP is case sensitive.

Member Avatar for phobia1
0
89
Member Avatar for Firestone

You can simplify your file handling by using file_get_contents() followed by an explode(), should the problem lie in invalid email address. [url]http://nl3.php.net/manual/en/function.file-get-contents.php[/url] [url]http://nl3.php.net/explode[/url]

Member Avatar for nyashaC
0
137
Member Avatar for ArNy

Maybe he wants to build a CMS. In that case, have a look at Mambo or PostNuke.

Member Avatar for ArNy
0
81
Member Avatar for tanha

You'll have to use javascript to accomplish this. Search for "javascript calendar" on google.

Member Avatar for MitkOK
0
70
Member Avatar for macneato

For PHP: [url]http://nl3.php.net/number_format[/url] For MySQL: [url]http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html[/url] (at the bottom: DECIMAL)

Member Avatar for pritaeas
0
133
Member Avatar for hbmarar

The best way to use tranactions is to use the feature of your selected database (using queries). If you want to code this in php... good luck, not recommended.

Member Avatar for pritaeas
0
72
Member Avatar for cancer10

Mitko, the restore command should be using mysql, not mysqldump.

Member Avatar for MitkOK
0
285
Member Avatar for robeartoesart
Member Avatar for pritaeas
0
45
Member Avatar for jeffin

For me it's open. It is possible some members experience a closed site because of DNS caching. It may take a while for the changes to get through, especially if they their own DNS set up for performance.

Member Avatar for pritaeas
0
40
Member Avatar for Dani

As for moving to MySql 5. I'd surely recommend it. We moved from 4 to 5 a while back, and noticed almost immediately an improvement in performance. Also 5 has transactions and stored procedures, the latter may help you with you admin tasks. At the Php Conference here I learned …

Member Avatar for pritaeas
0
153
Member Avatar for chris.jurado

Normally I'd recommend completely normalizing your tables. It would be overhead (as you stated) when you start out and may seem inefficient. However, note that maybe some day your need to extend your database, or someone else needs to do your job, then a normalized table is the easiest to …

Member Avatar for pty
0
169
Member Avatar for rinko

I think you'll have to set priviliges to the commands you want to execute. Also, check if in your httpd.conf the ExecCGI is in the Options directive, plus the extension has to be somewhere in there.

Member Avatar for pritaeas
0
102
Member Avatar for Puckdropper

I don't think the server will do something about it. It will execute the code you write. Most languages 'allow' this. Only some interpreters/compilers will check for this type of bug, often by putting in a counter. If it hits some large maximum, the code will abort.

Member Avatar for jbennet
0
118
Member Avatar for neons001

Does your second server (with SMTP) actually allow for SMTP to be send from a different server? Very often this is disabled. So before anyone will try to help you, are you sure this is even possible in your situation?

Member Avatar for pritaeas
0
91
Member Avatar for desiguru
Member Avatar for desiguru
0
165
Member Avatar for Rashakil Fol

It's all a matter of taste. C is the language it all started with, though at that time I thought assembly was the coolest. Then I found prolog and thought, wow. This is it. Then I did pascal which was a lot of fun. However in school we learned SmallTalk …

Member Avatar for Anonymusius
0
693
Member Avatar for rlsierra
Member Avatar for GreenDay2001
0
191
Member Avatar for bobby08

If you want to consider a third party tool, then Navicat is a good option. It's not expensive, and includes a scheduler for SQL jobs. It can also administer databases, and easily transfer databases across servers. For more info: [url]http://www.navicat.com/product.html[/url] And no, I have nothing to do with, I am …

Member Avatar for pritaeas
0
132
Member Avatar for Slade

Primarily, it depends on what you need to program. Various languages apply better to a specific job. So, what are you creating?

Member Avatar for M_K_Higa
0
343
Member Avatar for EnderX

in MySql there is the LOAD DATA INFILE command. Perhaps PostGre has support for it.

Member Avatar for pritaeas
0
126
Member Avatar for ashneet

SELECT * FROM first, second WHERE first.S_ID=second.S_ID ORDER BY second.Last Does the same thing, but is much faster than a join.

Member Avatar for ashneet
0
104
Member Avatar for mikeandike22
Member Avatar for pritaeas
0
29
Member Avatar for Seba Sama
Member Avatar for Seba Sama
0
75
Member Avatar for kibanga

`this` should be `$this` `myclass` should `$myclass` note that variables are preceded by a `$`

Member Avatar for kibanga
0
150
Member Avatar for tzan2833
Member Avatar for pritaeas
0
184

The End.