743 Posted Topics
Re: Quick search got: Sorceforge.net [url]http://getid3.sourceforge.net/[/url] PHPClasses.org [url]http://www.phpclasses.org/browse/package/1486.html[/url] I've seen quite a lot of PHP classes for parsing meta data from music files but can't remember where exactly. I believe the keywords to look for would be PHP, metadata, ID3v1, ID3v2, EXIF, IPTC, MP3 etc. Should help your search.. | |
Re: [QUOTE=invisal;400480]Maybe it is little unclear. So I give you a real time example: First I fail to login at : 0:00am so the SESSION will be expire in 0:15am However, I attempt again but fail at 0:05am so the SESSION will be expire in 0:20am and that $_SESSION['attempt'] probally will … | |
Re: thats very odd. Do you just have: [code=php] <?php phpinfo(); ?> [/code] and that comes up? | |
Re: [code]$MESSAGE = ob_get_contents();[/code] Please a var_dump($MESSAGE); after that to see if you actually get the msg saved to that variable. I believe your PHP install doesn't support output buffering or its turned off. | |
Re: Could you post lines 1-2 of your php file. | |
Re: [QUOTE=vjw757;413751]i have a site [URL="http://upithere.com"]http://upithere.com[/URL] . When you go to the site you see how the last 4 uploaded images are displayed? now if you go back up click on Hosted Images. now theres a lot of links to uploaded images. what i want todo is when you click on … | |
Re: [QUOTE=Persist01;412245]I'm looking for a php/mysql search tool but not a search engine tool. I'm trying to find something that allows you to enter a list of different characters. Then when any of those characters get entered into a textarea within a form and submitted by the user, the tool detects … | |
Re: Looks like your XML is invalid. The XML1.0 Specs I believe specifies that all literal < and > be replaced with the htmlentity equivalents ( < and > ). All other HTML entities be replaced with their html special character equivalients. ie: htmlspecialchars() in PHP. If you have an event … | |
Re: For creating graphs, you want to use one of image library extensions for PHP. The most popular being GD2 and Imagemagik. You have to have either of these installed on your PHP server. You can simplify creating graphs by using a graph library. (This library will most likely use GD2 … | |
Re: You can use a CAPTCHA to deter most spam bots. What do you mean by spoof checks? | |
Re: [QUOTE=hbmarar;410557]Hi, I would like to use the smtp configuration done on my php.ini and use smtp server for sending mails. I am not getting this part...? I modified the ini file wtih the intranet server address and still it seems like i am missing something. I request some pointers to … | |
Re: How far have you got? Have you installed XAMPP and have PHP working? [QUOTE]My problem appears to be that I cannot get my head around whether I need to have a seperate server, or whether I can do everything locally. [/QUOTE] Depends on what everything means. Yes, you can do … | |
Re: [QUOTE=bubai;407402]i am using iframe. it works in internet explorer which show the content of word file but in mozila download the file. How i solve it in mozila firefox. Any one help?[/QUOTE] You can save the MS Word Doc as an HTML file. Then place that in the IFRAME. Or … | |
Re: [QUOTE=chrisw09;404540]I have a form that consists of indexed fields like: [code] <input type="text" name="formItems[0].part" value="TK02"> <input type="text" name="formItems[0].price" value="13.0"> <input type="text" name="formItems[0].qty" value="1"> <input type="text" name="formItems[1].part" value="AG-1"> <input type="text" name="formItems[1].price" value="7.0"> <input type="text" name="formItems[1].qty" value="10"> [/code] In netscape/firefox, i can access the qtyOrdered value using: [code] document.forms['ShoppingCartForm'].elements['formItems[0].qty'].value [/code] How do … | |
Re: [QUOTE=ric1950;400684]Thanks for the replies but unless there is some way of intercepting between when the customer hits the submit button ('Add to Cart') and when the page submits to itself there is no way of knowing if the reload is from the submit button or a new visitor. I see … | |
Re: [QUOTE=RobLamb;401470]Hi Everyone. Still have had no joy on my last post but here is another. I am uploading an image to a blob field in MySql DB. Again, on my local machine its fine...however, on the server it does not get added to the field. All other information is added....eg … | |
Re: [QUOTE=Mikecool509;399260]Hello, I am trying to integrate a link in a Visio diagram to a specific remote desktop session. Basically, I want to be able to click a server in my drawing, and have remote desktop come up with a connection to that server. I know that the syntax of the … | |
Re: [QUOTE=w_3rabi;402403]hey i have this problem giving me a painful headache and sleeplessness ive got these .prn files which should converted into DB and these files contain numbers along with arabic characters the problem is the encoding of these characters is not readable anyone hav an idea how i could convert … | |
Re: [CODE=php]foreach($vised as $vised1) { $check_array = array_search($vised1, $vised); if (!$check_array)[/CODE] There is an error (2 actually) in the logic in the part above. The check $check_array = array_search($vised1, $vised); always checks for a value $vised1 that is always present in $vised, since the foreach() loop goes through each index of … | |
Re: [QUOTE=balagod;400743]Hi, I am creating a folder through php code. but the permissions for that folder is not setting. I identified the problem is apache is different usergroup,FTP is different user group. so i want to know how can i change user group of apache. or how can i add apache,php … | |
Re: [QUOTE=MB1765;401010]For instance I want to implode these strings and prevent bad print $a = "Apple in pesian( "; $b="سیب"; $c=")use as a medicine for all illnesses"; print implode( " ", array( $a, $b, $c ) ); It's bad print // use as a medicine for all illnesses( سیب )Apple in … | |
Re: Have you included the MIME type header to the .php file so that its treated as xsl? If not, in your .php file put: [php]header('Content-Type: text/xml');[/php] see: [url]http://www.dpawson.co.uk/xsl/sect2/mimetypes.html[/url] for others. make sure you place the header() call before any output is made, or else see ob_start() in the php.net manual. … | |
Re: [QUOTE=thornside;397910]I have two frames. The links in the left frame open up in the right. I would like to know if it is possible when clicking on links in the right frame, to put focus on the corresponding link in the left frame. Thanks in advance.[/QUOTE] You can focus on … | |
Re: When you send a HTTP Request to the URL, you get the HTTP Response Headers: [code] HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 X-Powered-By: ASP.NET Date: Sat, 30 Jun 2007 14:28:56 GMT Content-Type: application/octet-stream Accept-Ranges: bytes Last-Modified: Fri, 29 Jun 2007 12:53:49 GMT ETag: "1077a4894cbac71:3202" Content-Length: 7111 [/code] Notice: Content-Type: [B]application/octet-stream[/B] Accept-Ranges: … | |
Re: the site uses: [url]http://www.iran-php.com/[/url] the link is right at the bottom. I think you should take a look at the Joomla CMS. [url]http://www.joomla.org/[/url] If you're interested specifically in a CRM, see SugerCRM [url]http://www.sugarcrm.com[/url] There is a huge list on sourceforge.net if you search for CMS, or CRM. | |
Re: [QUOTE=tehgreatmg;394748]When I access [url]http://localhost/counter.php[/url] I get this: [CODE]document.write("1 Hits");PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(C:\DOCUME~1\c9972442\LOCALS~1\Temp\php\session\sess_ql1eb53bk1s8ohkja7ivd6tb13, O_RDWR) failed: Permission denied (13) in C:\Inetpub\wwwroot\counter.php on line 3 PHP Warning: fopen(counter.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\counter.php on line 23 PHP Warning: fwrite(): supplied argument is not a valid stream … | |
Re: If you want to write the PHP code yourself, you'll need to learn: 1) How to create HTML Forms. 2) How to have PHP handle HTML form submission. 3) How to connect to a database with PHP 4) Saving data to the database 5) Retrieving data from the database 6) … | |
Re: [QUOTE=MetalHobin;394825]I couldn't find a userscript for greasemonkey that removed that pesky banner at the top of the page, so I wrote this one, I've made it available here [URL]http://userscripts.org/scripts/show/10228[/URL][/QUOTE] I believe that pesky banner pays the bills at daniweb... Your willing to use it for free, and not pay the … | |
Re: > Hi there, > > I've been using PHP and MySql for some time now but I am quite new to Javascript. > I would like to know how it is possible to insert data stored in a MySql database into Javascript code. > For exmple, I am working on … | |
Re: Basically what you need to know is: How to submit a form and handle the submission results. How to connect to a database, query the database and retrieve the database query result. How far is your knowledge of PHP? | |
Re: A good reference to look at is the Smarty template engine and see how its implemented. [url]http://smarty.php.net/crashcourse.php[/url] | |
Re: use: [code]window.open()[/code] [url]http://developer.mozilla.org/en/docs/DOM:window.open[/url] | |
Re: [QUOTE=realnsleo;382926]how can i verify the validity with the php pregmatch function. The string starts with a year, then a dash, followed by between 1-3 numbers, another dash,then betweek 1-5 letters, another dash, thenmore letters between 1-10, another dash and finally between 1-3 letters for example:[code]2007-03-DPE-MSK-001[/code]thanks[/QUOTE] preg_match() uses a regular expression … | |
Re: [QUOTE=stymiee;384667]So have them either all of the grades at once and then update all of the relevant records from that?[/QUOTE] Sounds complicated. You'll need an OCR (Optical Character Recognition) Software first translate the scanned page into Text. (if they characters are hand written, this won't work) Then you'll need a … | |
Re: The problem is in your SQL query that selects a single article: [CODE]$SQLQuery = "SELECT * FROM content,content_author,content_issue,content_keywords,keywords,content_type WHERE content.author_id=content_author.author_id && content.issue_id=content_issue.issue_id && content_keywords.keyword_id=keywords.keyword_id && content.content_id=content_keywords.content_id && content_type.type_id=content.type_id && content.content_id = ".$HTTP_GET_VARS['content_id']; [/CODE] You have to use "AND" in place of "&&". That is the equivalent to the PHP version … | |
Re: [QUOTE=php_coder;370148]Hi I am getting this very error..... [B]Cannot modify header information - headers already sent by[/B] (output started at C:\Program Files\xampp\htdocs\gallery2\examples\live-excel.php:36) I have tried [B]ob_start();[/B] but of no use. It did not work.... can someone give the solution.?? Thanks in advance cheers Prati[/QUOTE] Output buffering is not supported on all … | |
Re: Here's an explanation on whats happening with the cookies that may help you. Cookies are bits of info that the Client (browser) saves when requested by the Server. That means that they require a [B]new[/B] HTTP Request from the server, which is the same as a [B]new page load[/B]. [B]Examples:[/B] … | |
Re: [QUOTE=genievb88;368089]hello guys, im practicing doing a website but i have a question, can i maintain the site from any computer or it has to be the computer that i set it up on? thanks in advance[/QUOTE] Basically, what you need to maintain a website, is the ability to edit data … | |
Re: Where are you putting in the JS script? Directly into a PHP file? HTML file? Are you entering it via a form? The New Lines are being parsed into <br /> tags somewhere.. | |
Re: [QUOTE=Stylish;362690]preg_match sounds like what you want. More info can be found here: [url]http://us2.php.net/manual/en/function.preg-match.php[/url] Good luck![/QUOTE] You can use preg_match if you're going to search for a pattern in a string. However, if you're going to look for just a string, then you should use a function such as strstr() or … | |
Re: [QUOTE=kapil.goyal;357966]can anybody tell me how i can upload a file without user interaction.the file full path is known and can be hardcoded.[/QUOTE] [B]Uploading from Client to Server[/B] I'm assuming that you want to upload a file from a client to your server. The client being the web browser. This is … | |
Re: What OS is your server on? Windows requires an SMTP server. | |
Re: [QUOTE=DangerM0use;354285]How would you execute MySql commands found in a text file? It's really beginning to bug me![/QUOTE] If your code is just for your own server, you could try using the command line: [PHP]<?php exec("mysql -u USER -p DBNAME < dump.sql"); ?>[/PHP] or try this class from: [url]http://www.phpclasses.org/browse/file/12857.html[/url] [PHP]<?php /** … | |
Re: [QUOTE=chewbacca810;333266]i'd hate to work for the manager that enforced a no whitespace rule to save on bandwidth[/QUOTE] I'd still indent all my code and include as much whitespace as I could. Then I'd have the server buffer HTTP output and remove all indents and whitespace. The manager will never know.. … | |
Re: I'd go with something very new. If its a first proof of concept, even better. | |
Re: [QUOTE=blah23;275578]Hello, I recently downloaded and uploadee Secuimage CAPTCHA Class Version 0.3 PHP4 from [url]http://www.neoprogrammers.com/[/url] and Im having some problems. 1) It always says that the code entered is wrong, even in the example forms. I tried it with my altered code and without and it still never says it is … | |
Re: [QUOTE=Barefootsanders;346912]Hey guys. Ive been working on an online game and Im attempting to code the attack arena. Bascialy what i want is people to be able to "sit down" at some sort of "table" (kinda like online poker) then they would battle it out at that "table" or arena etc. … | |
Re: A file ending with .html cannot have PHP code in it unless you have set up your server specifically for it. Use a .php extension for our files. You can place HTML in those files and also "embed" PHP just as you have in your Original Post. | |
Re: setTimeout() can also take a function as the first parameter. Using an anonymous function you can rewrite your JS code as: [CODE]// example of using a JS closure to persist a lexical environment/scope function addTextNode() { var newtext = document.createTextNode(" Some text added dynamically. "); var para = document.getElementById("p1"); window.setTimeout(function() … | |
Re: [QUOTE=mikesowerbutts;343683]hello, I am building a mysql/php/javascript based online timesheet system which allows users to assign themselves predefined projects and then select one of the projects assigned to them and add hours for a particular date to the database - i can get the add to work fine, but i need … |
The End.