8,966 Posted Topics
Re: 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 … | |
Re: 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) ? | |
![]() | Re: 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. ![]() |
Re: 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. | |
Re: 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] | |
Re: Maybe this can help: [url]http://digiex.net/guides-tutorials/544-configuring-php-under-windows-use-gmail-external-smtp-server-ssl.html[/url] | |
Re: 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, … | |
Re: [QUOTE=caperjack;813638]hi, i have no idea why the blue font![/QUOTE] Blue font normally means the file is compressed. | |
Re: reverse $connection and $get_topics_sql in mysql_query | |
Re: Not really sure what you mean. Do you want to hide empty folders ? | |
Re: You need to copy the file extension handling from script2 to script1. | |
Re: [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 … | |
Re: 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] | |
Re: 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. | |
Re: 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. | |
Re: 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] | |
Re: 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 | |
Re: What are your time requirements (e.g. time to spent on the project in hours/day or hours/week) ? | |
Re: 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 … | |
Re: You can add an alias that maps to your D drive. The alias will act as a virtual folder. | |
| |
Re: 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 … | |
Re: 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. | |
Re: You can probably use setlocale before the call to date. [url]http://php.net/setlocale[/url] | |
Re: Maybe this can help: [url]http://dev.mysql.com/doc/refman/5.1/en/string-functions.html#function_soundex[/url] | |
Re: 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 … | |
Re: Why do you have 3 indexes on the INI field (primary, unique and index) ? Also add an index on (dep1 and name) | |
Re: [url]http://delphi.about.com/od/beginners/a/delphi_set_type.htm[/url] | |
Re: Perhaps you're not running your query right the second time. Hard to say without code. | |
Re: 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. | |
Re: I think you mean to use: __FILE__ and __LINE__ Notice the 2 underscores. | |
Re: 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 … | |
Re: [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] | |
Re: In my opinion you'd better contact the website's support. According to the site they'll be there to answer your questions. | |
Re: Remove all your *.~* and *.dcu files and any other files that will be regenerated and try to build from scratch | |
Re: 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 … | |
Re: $i = $i + 1; Should be outside of the if. It is now not incremented, so you'll have an infinite loop. | |
Re: 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] | |
Re: 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. | |
Re: 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) | |
| |
Re: 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 … | |
Re: [code] require 'php_speedy/php_speedy.php'; [/code] Use a relative path if necessary. | |
Re: 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. | |
Re: Removed. Responded to a double post. Already solved. | |
Re: 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] | |
Re: 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. |
The End.