- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Web Programmer
- Interests
- PHP / MySQL / Design
- PC Specs
- Oh, no. I'm ashamed. :P
47 Posted Topics
Re: Check the manual... if that script is included check that the file that it is actually including it doesn't have any print or echo. session_start() should be at the very beginning of the code. Also change this: [php] <?session_start();?> <?php include"db_config.php"; [/php] to this [php] <?php session_start(); include"db_config.php"; [/php] There … | |
This is one of the fastest ways to get data submitted by a HTML form, make it readable and send it by e-mail. Fast and easy. From the raw example to some basic functionality. | |
Re: Hi starsunited. I'll need to do that work soon. A co-worker did it and as far as I remember when talked to him he used handhelds with bar code readers. Basically the handheld has WinCE so he was able to read the barcode and the handheld passed the information directly … | |
Re: Hello everybody. Try this go to the printer properties by right clicking the printer icon on Printer & Faxes. Go to Advanced Options and select the option that reads Print Directly to the Printer. It worked for me :p . the rpinter was not rpinting from Word and other programs … | |
Re: After my team (Argentina) lost the chance I want Portugal to Win... if it cannot be: France, Italy and Germany in that order. :P | |
Re: Are you trying to upload files bigger than the size limit in php.ini? if the script works with small size file then the script is fine and the error is in php.ini. Another issue may be that your server has some strict security. Sometimes mod_security doesn't like a part of … | |
Re: It would be useful to know why you need this since the solution will require javascript and you can't rely in javascript is something is going wrong from the beginning... for example if the visitor's connection is pretty low. | |
Re: You will need some script in your server. Check if imagemagik is available for example. Don't know of any script (alone) that can do that for you. You will need a program and in the worst case the permissions for PHP to execute it (using exec() / system() ) if … | |
Re: Sometimes is not a PHP / Script problem. Is your server properly configured? [URL="http://www.mxtoolbox.com/blacklists.aspx"]not blacklisted[/URL] ? using SPF records? Are you using your own smtp or trying to send using a remote server / relaying (major issue). In the scripting side some headers may help but I'm not used to … | |
Re: maybe you are using a script designed to work with PHP5 and you are still using PHP4? | |
Re: Yes, the code will help. Take into consideration that the PHP mail function used as-it-is is very basic and does not include by default all the required headers that need to be added in a mail in order to avoid the message to be marked as spam. | |
Re: Hi, I'm one of those Win guys that turned to Linux. Ive tried RedHat 8 and Mandrake in the past... and I was not happy with them although I always liked to make the jump to Linux... when I tried Ubuntu I finally did... and I can tell that I'm … | |
Re: Even if you have the money to develop a site and maintain campaigns to promote it (sorry, bu I doubt it) I don't think you can start a company based on jealousy and competition as your main source of power to make it hapen. | |
Re: [QUOTE=cscgal]I tried reading up but I'm still confused? When is it appropriate to use exec() over shell_exec() over system() ?? Is the only difference what they return / output? The next question that I have is I want to use a php variable as one of my parameters. Is this … | |
Re: Are you looking for a tracking system? Statistics? Preferred language? PHP? CGI? | |
Re: First of all thats not true, it depends on how you use php. As pulse added the problem is related to the fact that PHP uses in some cases session ids in the url and since session changes from user to user the URL looks different at the "eyes" of … | |
Re: You can promote your forum directly... you don't need to move the forum or create a new index page for this. I must tell I don't have any experience with IPB... I do now that vBulletin is better for search engines. If your forum site is already indexed in Google … | |
Re: Try Joomla... but keep in mind that almost all CMS in the market are not 100% firendly for people that doesn't use a computer. And, if the site will grow on content maybe a custom CMS will be better. Anyway, try joomla first. | |
Re: What do you mean with automatic mailing? How the reports are created? do you need the mails to be send onece an hour? a day? maybe a cron job will work. Tell me more... | |
Re: Just ask, I started the same way but trying to make my own Quake clan page... now my job is about building websites... so keep on posting questions. :mrgreen: | |
Re: Well I work for my own and I have another point of view... people is used to the applications (.net applications or Windows I mean)... and they don't even know that web can deliver the same with more... so it is about programmers promoting this and doing it the right … | |
Re: Did you upload something before this error? Sometimes that error happens when the .htaccess is broken or missing since Mambo uses that file. Keep in mind that the .htaccess doesn't show up in many FTP clientes unless you are using Linux or a Windows FTP client that allows to see … | |
Re: You can try the XML_Serializer if you can use PEAR: [url]http://pear.php.net/package/XML_Serializer[/url] It will let your convert XML 2 Array and Array 2 XML. Great tool. | |
Re: I can only tell you what I did to learn PHP, maybe it will work for you: First: I was willing to learn, and put lots of enthusiasm and hours on it... thats the most important :D SECOND: tried several tutorials until I saw these two: Sitepoint (the Build your … | |
Re: replace this: [php] $sql_queryname=mysql_query($sql_retrievename) or die(mysql_error()); $numrows_name=mysql_num_rows($sql_queryname); for($i=0;$i<$numrows_name;$i++){ $row_name = @mysql_fetch_array($sql_queryname); $retrieved_name = $row_name["image_name"]; print $retrieved_name ; // line 27 echo "\n"; } [/php] for this... it is simple [php] $sql_queryname=mysql_query($sql_retrievename) or die(mysql_error()); while ($data=mysql_fetch_object($sql_queryname)) { print $data->image_name; echo "\n"; } [/php] | |
Re: I think the problem is in your WHERE claus... you are using WHERE pw='$pw' at that time $pw contains the actual password... unencrypted ... and PASSWOR('$pw') holds the encrytped password My sugestions: FIRST!... dont use PASSWORD... use SHA1 or MD5 since PASSWORD was changed in the different MYSQL versions and … | |
Re: Sorry, I don't understand the question... so... If you mean the directory from the source machine... as far as I know... you can't. If you mean the directory where the image was uploaded it is ussualy the tmp folder. [url]http://www.php.net/features.file-upload[/url] | |
Re: Name: Ramiro Nickname: RamiroS / Ozz / Ozzman Height: 5'64'' Weight: 149 Hair: Brown Eyes: Brown Location: Cartago, Costa Rica but I'm actually from Argentina. Age: 28 Hobbies: Creating Web Pages, PHP/MySQL, play guitar (metal / blues / everything that has feeling), design and Online Gamming. Relationship Status: Married, 2 … | |
[B]Intro[/B] This is one of the fastest (and raw) ways to process form information from a web page. We assume that you have a form setup with Dreamweaver or a html editor. [B]Getting started[/B] In the $_POST global variable the results of a submitted from are stored (normally when someone … | |
Re: Just wanted to say that the new design is very neat, great colors... I like it very, very much. Great improvement. | |
Re: Check out [url]http://cr.php.net/imagejpeg[/url] Using imagejpeg the third parameter is the quality... use 75 or more to not loose all the quality... You can also create a default value for your script... like $def_quality=82; Then you'll do: [php] imagejpeg($second,$v_thumbnailfile,$def_quality); [/php] hope this helps. | |
Re: [QUOTE=tim_ver]anyone help??[/QUOTE] Yes... you can download this vbulletin hack: [url]http://www.vbulletin.org/forum/showthread.php?t=67084&highlight=weather[/url] and get the information you need to display the weather. | |
![]() | Re: [php] <? include('dbconnect.php'); //Get the article title function article_title () { $getarticletitlequery = "select title from article where id='$id'"; $printtitle = mysql_query($getarticletitlequery); $fetchtitle_tmp = @mysql_fetch_object($printtitle); $fetchtitle = ucfirst(strtolower($data->$fetchtitle)); echo $fetchtitle ; } ?> [/php] You forgot to use $variable-> (since you are using fetch_object). or [php] <? include('dbconnect.php'); //Get the … |
Re: If you cannot alter php.ini try this on the top of your code: set_time_limit(120); That will do the job hust for the execution of that script. You can use set_time_limit(0); also so the script will not time out until it finishes running but I do not recommend this. | |
Re: Right click on My PC go to Manage and select the device manager... check if the direvers are there (see if there are any ! signs or errors). If its there should work... tell us what sound card is. | |
Re: Hello vismund! The problem is that you are not using the mail() function the right way... it is just a couple of details ([URL=http://cr.php.net/function.mail]check the manual[/URL] ): mail functions uses 4 parameters only. Everything goes right until the end of mail( "paul@coatesdesign.net", "Website form", $message ... the 4th parameter should … | |
Re: Hi floris. I'm using (and normally use) a custom made avatar. I'm creating more avatars for my site... I'll be glad to post it here as soon as I finish... I'm working on abstract / photoshop custom avatars like the one I'm using. | |
Re: I don't understand. Do you need an avatar set or a complete PHP avatar script to add to your forum? If the answer is the second option why don't you try phpBB... it is easy to install, administer and has built in avatars support. Regards, | |
Re: Do you mean that the script pop ups everytime even when you are logged in? that is what you whant to remove? | |
Re: What I normally do is: if the number is a percentage you can print it directly or make the calculation with PHP... or (read below) create a function). Depending the case I don't know about any MySQL function to do this.. [php] ... function perc($num) { return format_number($num,2)." %"; } … | |
Re: Sorry, I'm lost... do yo uhave a script? using a search engine script or tool? | |
Re: Mmmm... maybe creating a temporary table with the results of the first query but that will kill performance. In my opinion it is better to create a seach form that "remembers" the values and then the client can always have that reference and change the options to narrow the search. ![]() | |
Re: Try using SpyBot (Search in Google) and Upgrading Windows to WinXP Service Pack 2. | |
![]() | Re: Try fixing the spyware problem first and then check /Windows/system32/drivers/etc/hosts ... yahoo and hotmail should not be in that list (use worpad for editing). |
Re: I use Announcements in my forums from time to time... normally I define a 1 month lifetime for it. Specially whne I want everyone to know about new rules or additions. In other cases I use the General Forum since in my case its the most visited and normally all … | |
Hi, my name is Ramiro, I heard about DaniWeb from another member (Tapanti) he is a friend and co-worker. What can I say... I'm interested in PHP / MySQL Development, Web Design, CSS, music and Communities. I'm always searching to participate in more internet communities like this one... I think … | |
Re: Following the example cjgraphix gave you: [php] $get_orders = mysql_query("SELECT order_id, ordername FROM orders WHERE member id = '$member_id' ORDER BY order_id"); while($myorder = mysql_fetch_array($get_orders)){ echo "<a href='viewdetail.php?id=" . $myorder['order_id'] . "'>".$myorder['order_id']."</a> " . $myorder['order_name'] . "<br/>"; } [/php] then having a viewdetail.php file (check how the link is constructed … |
The End.