8,966 Posted Topics

Member Avatar for arunmozhi

Suppose the server's name is example.com It will allow you only to send email to [email]xxx@example.com[/email] addresses. If you want to send email to @hotmail.com you need to have an account on the server, so you'll have to login with your email and password before being able to send. Is …

Member Avatar for arunmozhi
0
323
Member Avatar for dmkp

You are uploading/downloading via script. Maybe when downloading the zip, the php header is not set correctly. Did you try downloading the zip directly (not through a script) ?

Member Avatar for cwarn23
0
215
Member Avatar for onaclov2000

See the exec/shell_exec/system commands. If you're on Windows/IIS then you may have rights issues. Didn't get some programs running from PHP. *nix shouldnt be a problem.

Member Avatar for onaclov2000
0
117
Member Avatar for Lensva

Depends a bit on how you can retrieve the data from site B. If there are webservices/soap you can use, or perhaps a rss feed. Otherwise there's always curl.

Member Avatar for Lensva
0
92
Member Avatar for Beastmanh

If you really like Chrome, have a look at Iron. This browser is based on the Chrome code, but has some Google features removed. [url]http://www.srware.net/en/software_srware_iron.php[/url]

Member Avatar for cohen
0
154
Member Avatar for ProgrammersTalk
Member Avatar for localp

Maybe this can help: [url]http://digiex.net/guides-tutorials/544-configuring-php-under-windows-use-gmail-external-smtp-server-ssl.html[/url]

Member Avatar for cwarn23
0
215
Member Avatar for cali_dotcom

Sounds like you should be able to add several categories to a piece of data (say a record), allowing it to be reached by different paths. Next to that you would need to have your categories setup in a table (or multiple), ordering them the way you need them (parent, …

Member Avatar for death_oclock
0
127
Member Avatar for twoyorkie

[QUOTE=caperjack;813638]hi, i have no idea why the blue font![/QUOTE] Blue font normally means the file is compressed.

Member Avatar for twoyorkie
0
264
Member Avatar for Pado
Member Avatar for steve345
Member Avatar for pritaeas
0
42
Member Avatar for steve345
Member Avatar for pritaeas
0
129
Member Avatar for Ebots

[QUOTE=Asim Munir;805536] [[B][COLOR="Red"]My Conclusion:[/COLOR][/B] Database design always follows business rules. 1) If one staff member can be assigned only one department then your boss is right coz ur design allows multiple departments to one staff member (violation of business rule) [/QUOTE] In my humble opinion, in this case you should …

Member Avatar for pclfw
0
225
Member Avatar for antwan1986

How about this: [code=php] print "<pre>"; $row = mysql_fetch_array($result); while ($row) { print 'This ID: ' . $row[0] . ' :: '; $row = mysql_fetch_array($result); if ($row) print 'Next ID: ' . $row[0] . '<br/>'; } print "</pre>"; } [/code]

Member Avatar for pritaeas
0
125
Member Avatar for shadiadiph

it's not possible in this case. How would the browser know to which page to jump, if there were two ? It will always jump to the first.

Member Avatar for shadiadiph
0
131
Member Avatar for steve345

Did you contact the author ? According to the site he's very interested in bug reports. The demo on the site appears to be working. I'll try and see if I can get the script running on my website.

Member Avatar for steve345
0
91
Member Avatar for arshadalishaikh

Apparently there is a difference. The first comment in the PHP manual: [url]http://php.net/domxml_open_mem[/url] points to here: [url]http://alexandre.alapetite.net/doc-alex/domxml-php4-php5/index.en.html[/url]

Member Avatar for pritaeas
0
177
Member Avatar for millsy007

If you have a look at the manual [url]http://dev.mysql.com/doc/refman/5.0/en/update.html[/url] you can see that the table references (joins) should be _before_ the SET

Member Avatar for millsy007
0
78
Member Avatar for C.G.P.

What are your time requirements (e.g. time to spent on the project in hours/day or hours/week) ?

Member Avatar for pritaeas
-1
187
Member Avatar for piqoni

My guess is that they rely heavily on link tables. Suppose you have a dutch and american dictionary, they wouldnt be linked by using the same id (as you stated). Instead it would use a third table that links two words (in different languages) together. For synonyms, you can do …

Member Avatar for piqoni
0
85
Member Avatar for veledrom

You can add an alias that maps to your D drive. The alias will act as a virtual folder.

Member Avatar for veledrom
0
82
Member Avatar for Aamit
Member Avatar for chrishea
0
108
Member Avatar for Roybut

is this how your table looks like ? id size 7 1,2,3,4,5,6,7,8,9 then your code would need to be like this: [code=php] $query = "SELECT * FROM boot_mens_test where id = 7"; $result = mysql_query($query); echo "<form name='sizetest'><select name='Sizes'>"; if ($row = mysql_fetch_array($result)) { $sizes = explode(',', $row['size']); foreach ($sizes …

Member Avatar for Roybut
0
88
Member Avatar for horsethefan
Member Avatar for designingamy

use: [icode]$result = mysql_query($sql) or die(mysql_error());[/icode] to see if it is an error in your query. The error is normally thrown if you don't get a valid result.

Member Avatar for death_oclock
0
92
Member Avatar for serdas

You can probably use setlocale before the call to date. [url]http://php.net/setlocale[/url]

Member Avatar for almostbob
0
177
Member Avatar for sarithak

Maybe this can help: [url]http://dev.mysql.com/doc/refman/5.1/en/string-functions.html#function_soundex[/url]

Member Avatar for nav33n
0
99
Member Avatar for tuukie
Member Avatar for Sparkles

This works in Delphi 5 on XP, so it should work for you: [code] var SteamString : String; CommunityString : String; ZeroOrOne : String; SteamId : String; CommunityStringMath : Int64; Calc : Integer; Number : Int64; begin SteamString := EditSteam.Text; ZeroOrOne := Copy(SteamString,3,1); SteamId := Copy(SteamString,5,9); Calc := (StrToInt(SteamId))*2; Number …

Member Avatar for tylcoatc
0
117
Member Avatar for desiguru

Why do you have 3 indexes on the INI field (primary, unique and index) ? Also add an index on (dep1 and name)

Member Avatar for pritaeas
0
106
Member Avatar for gh0sts416

[url]http://delphi.about.com/od/beginners/a/delphi_set_type.htm[/url]

Member Avatar for LizR
0
126
Member Avatar for cjackson111
Member Avatar for pritaeas
0
149
Member Avatar for Stefano Mtangoo

Why not copy the index.php from the WAMP wwwroot to XAMPP ? The method of retrieving the data is the same in both, it is just php code.

Member Avatar for pritaeas
0
90
Member Avatar for drastic
Member Avatar for sjoscelyn
0
391
Member Avatar for sacarias40

imo this is a difficult way of rendering a page, but anyway. It would be possible to use an array to define your page flow. In turn that could be used to specify the tags to create, and point to a variable or function containing the tags content. Is there …

Member Avatar for sacarias40
0
119
Member Avatar for redgem

[code] "SELECT * FROM "accounts" WHERE (("email" = "$email") AND ("password" = "$password"))"; [/code] You're nesting strings the wrong way. Try this instead: [code] "SELECT * FROM 'accounts' WHERE ((email = '$email') AND (password = '$password'))"; [/code]

Member Avatar for redgem
0
336
Member Avatar for anirbanb2004

In my opinion you'd better contact the website's support. According to the site they'll be there to answer your questions.

Member Avatar for pritaeas
0
64
Member Avatar for AKJo

Remove all your *.~* and *.dcu files and any other files that will be regenerated and try to build from scratch

Member Avatar for Narue
0
149
Member Avatar for Rushyo

How are you importing the backup ? Are you using phpmyadmin for this or mysql (command-line) ? The following is from the phpmyadmin documentation: [code] 1.23 I'm running MySQL on a Win32 machine. Each time I create a new table the table and field names are changed to lowercase! This …

Member Avatar for pritaeas
0
150
Member Avatar for khr2003

$i = $i + 1; Should be outside of the if. It is now not incremented, so you'll have an infinite loop.

Member Avatar for khr2003
0
77
Member Avatar for indianrock9

Have a look at this, it may get you started: [url]http://forums.mysql.com/read.php?52,48678,48684#msg-48684[/url] [url]http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_find-in-set[/url]

Member Avatar for indianrock9
0
1K
Member Avatar for Tom Tolleson

I've done the same, only with PHP. Using a regex I stripped out the actual content and put it into the DB. You may need to escape the content, but that depends on your insertion method and column type.

Member Avatar for MidiMagic
0
83
Member Avatar for Kavitha Butchi

Well. It is correct, but if you want a clean separation between code and layout, I'd suggest you use templates. The html code goes into a template, with variables like title. After setting all your vars, you output the template. Nice and clean. (smarty.net)

Member Avatar for Kavitha Butchi
0
209
Member Avatar for praveen_dusari

[code=sql]SELECT * FROM countries WHERE country LIKE '%a%'[/code]

Member Avatar for varmadba
0
156
Member Avatar for nathanpacker

If you download FreeDownloadManager, you can just copy and paste the email into the program, and it will get your files. Unless you really want to create this yourself of course. Then you need to save and open the email in php (file_get_contents). Parse the text for url's and try …

Member Avatar for pritaeas
0
96
Member Avatar for pedramphp

[code] require 'php_speedy/php_speedy.php'; [/code] Use a relative path if necessary.

Member Avatar for digital-ether
0
171
Member Avatar for pedramphp

You can change the file itself, if you have write permission on it. Open the file and use a regex to replace the old value with the new.

Member Avatar for digital-ether
0
121
Member Avatar for spokie
Member Avatar for servis

Use double quotes. Single quoted strings aren't parsed. [code] $page = 'test'; include("$page/test.php"); # this will also work include($page . '/test.php'); [/code]

Member Avatar for servis
0
102
Member Avatar for eagled2

cat is an integer, so it doesn't need the quotes. But if you do [code] mysql_query(..) or die(mysql_error()); [/code] you can see what's wrong.

Member Avatar for pritaeas
0
109

The End.