516 Posted Topics
Re: Do you really need multiple stylesheets? I've found that you just need one that works on all browsers. This sounds simple, but it's not. Here are some tricks: 1.) Validate with W3C 2.) Reset margin and borders to 0 at the beginning of the stylesheet. Then redefine if necessary. 3.) … | |
Re: Datetime is in the [icode]YYYY-MM-DD HH:MM:SS[/icode] format so, Friday, August 28, 2015 at 8:00PM would be: 2015-08-28 20:00:00 | |
Re: Well here's how to add a link to the gallery. Obviously, you'll have to make a gallery.html page, otherwise you'll get a page not found error. Change: [code=html] <td><img src="images/index_06.jpg" width="87" height="16" alt=""></td>[/code] To [code=html] <td><a href="gallery.html"><img src="images/index_06.jpg" width="87" height="16" alt="gallery"></a></td>[/code] | |
Re: I believe Silverlight is Microsoft's attempt in gaining part of Adobe's Flash market. It's still in a very early stage and whether it will stand the test of time is unknown. What's for sure is that both Flash and PHP have stood that test. | |
Re: When is the variable populated? Before or after the page is loaded? | |
![]() | Re: Change the mode parameter on line 20 to r: [code=php]$fp = fopen($path, 'R');[/code] should be: [code=php]$fp = fopen($path, 'r');[/code] ![]() |
Re: [URL="http://html-color-codes.info/"]HTML color codes[/URL] already has prebuilt tables for this. | |
Re: Sounds like a mess. Post your code | |
Re: Nevermind, looks like patryksharks321 answered it already. | |
Re: Initialize a variable. Then increment the variable by the value in the cell: [code=php] <?php $price=''; for($i=0; $i<5; $i++){ $price +=$i; } echo "Price=$price";// will output Price=10 ?> [/code] | |
Re: This sounds like project management software. Are you asking about an open source alternative to MS Project? If so, check out [URL="http://www.openworkbench.org/"]Open Workbench[/URL] | |
Re: Use a decent database (not Access) and make sure that the server hard drive has enough space to support the pics. | |
![]() | Re: You could either concatenate all of the values and store them in one field or you could create three fields to store each value separately. ![]() |
Re: Try changing:[code=html]<BODY BGCOLOR="#FFF3E6" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" onLoad="MM_preloadImages('images/webrollovers_musicrollover.jpg','images/webrollovers_aboutrollover.jpg','images/webrollovers_giverollover.jpg','images/webrollovers_volunteerrollover.jpg','images/webrollovers_linksrollover.jpg','images/webc_search.jpg','images/webc_searchspace.jpg','images/webrollovers_contactrollover.jpg','images/webrollovers_homerollover.jpg')"> [/code] to [code=html] <BODY BGCOLOR="#FFF3E6" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" onLoad="MM_preloadImages('images/webrollovers_musicrollover.jpg','images/webrollovers_aboutus.jpg','images/webrollovers_giverollover.jpg','images/webrollovers_volunteerrollover.jpg','images/webrollovers_linksrollover.jpg','images/webc_search.jpg','images/webc_searchspace.jpg','images/webrollovers_contactrollover.jpg','images/webrollovers_homerollover.jpg')">[/code] | |
Re: Something of a side note, while most clients will let you send them html email, most will replace attributes if they have quotes (single or double) surrounding them. So if you want to send [code=php]$body2.="<table width='850px' border='0' align='center' cellpadding='0' cellspacing='0' style='vertical-align:top;'>"; [/code] you'll have to get rid of those single … | |
Re: The script should look something like (notice I substituted your variables in): [code=php] $mail = new PHPMailer(); //SMTP begin $mail->IsSMTP(); // set mailer to use SMTP $mail->Host = "mail.myhost.com"; // specify main and backup server $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = "myName"; // SMTP username $mail->Password … | |
Re: There are a number of converters. I'm not sure how good any of them work but you can find them[URL="http://www.google.com/search?q=asp+to+php"] here[/URL]. | |
Re: It should be something like: [code=php]$query = "SELECT * FROM runners WHERE first_name ='".$name."' OR last_name='".$lname."'"; [/code] | |
Re: Also, see [url]http://www.daniweb.com/forums/thread136175.html[/url] on how to set up the connection string for accdb. | |
Re: Just by breezing over the code, it looks like you are trying to update one row with two or more values. If so, you'll have to concatenate them before the update. | |
Re: Why are you echoing all of that html? If you don't have dynamic data, don't waste the server and users time parsing. After the form element, Add a php delimiter to let the server know not to parse anything else. [icode]echo "<form action='$regScript' method='$formMethod' name='form'>"; ?> [/icode] | |
Re: You should be able to use exec to run a shell command to register the DLL. | |
Re: Use as many variables as necessary. Just write statements that restrict access based on user level. Example:[code=php] if($_SESSION['user']=="Super Admin"){ echo "Welcome Super Admin"; //allow Super Admin to do whatever } else{ header ('location:index.php?your_not_allowed_in_here');//do a redirect if access is not allowed } [/code] | |
Re: Have you looked into php's mail function? [icode]mail($to, $subject, $message, $headers);[/icode] | |
Re: Flash would be the easiest (in my opinion), because it is widely used and results in a very small file in comparison to animation supportive graphics like .gif. All of the ads you see on this page are Flash. You could also use Flash with PHP or PHP with JavaScript … | |
Re: You can start off by learning that JavaScript is not Java. Java is an in-depth software language. JavaScript is a webdevelopment language that runs on the client. | |
Re: Are you trying to modify the second select element based on the first element choice? If so, php doesn't have this capability by itself. Remember, php runs and executes from the server. JavaScript runs and executes from the browser. Php, by itself, cannot modify the current loaded page. It needs … | |
Re: I believe [URL="http://www.eephp.com/"]PHP Excel Explorer[/URL] can read the cell styles. I looked into it a while back and wound up not needing it. | |
Re: Does anyone know how to integrate PHPlist with an already existing form on their website? No I have never messed with a pre made mailing list, but I can explain how to use a flash movie to insert users into an existing mysql mailing list. HOw do I make a … | |
Re: Use an onchange event in the select element. The event should trigger a function which makes an AJAX request to the server side script performing the query. If the request returns an output, it will perform another function to populate the other select element using innerhtml. You can find many … | |
Re: The script above performs a query but doesn't output anything. You will need an output from the script to populate the suggestions. What does the demo script look like? | |
Re: For your "broser problem" Probably [icode]<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />[/icode] | |
Re: If you have more than 2 forms strung together, you should look into using a session array to store all the form information. The reason why I say this is that POST data is good from one page to another, but relies on hidden variables to pass it any further. | |
Re: Yes, Access can communicate with asp, asp.net, php, jsp, and coldfusion. Figure out which one's your web server supports and move forward from there. Also, Access may not be enough for the job. It works great for small projects but if this is no small project you may want to … | |
Re: You can try to connect through Internet Explorer. Go to [url]ftp://yourdomainname.com[/url] (or .net or .org...) A login screen will appear. | |
Re: Most good encryption methods don't have simple decryption. However, if something simple will work, you can use [URL="http://us2.php.net/manual/en/function.base64-encode.php"]base64_encode[/URL] and [URL="http://us2.php.net/manual/en/function.base64-decode.php"]base64_decode[/URL]. | |
Re: You shouldn't compare the two. It's like comparing a school bus (Oracle) to a Corvette (MySql). Oracle can deliver tons of data in a reasonable amount of time consistently. MySql can deliver smaller amounts of data in a much faster time consistently. How big is the db and how frequent … | |
Re: Would have to see the form validation code to say. | |
Re: Yes, for instance if you use GET method. Any server side script that can use the GET method to retrieve variables from the url can also process them. Same with post. Any script that can retrieve variables from the POST array can process them. And regardless of the script, it … | |
Re: You can use a reset button. [code=html]<input type="reset" />[/code] Alternatively you could use JavaScript: [code=JavaScript] document.forms[0].reset() [/code] | |
Re: Excel is basically tab delimited. Basically, in between columns add a "\t" to insert a tab to let excel know that the first column is finished and the second column should start. To start a new row, add a "\n" to force excel to put the next data in a … | |
Re: Most [QUOTE]database-administartors[/QUOTE] don't use MySql unless it is coordinated with open source (php or java) scripts/languages. In these cases ODBC is not necessary. If MySql won't work with a .net or coldfusion server, who cares. You have enough cash to shell out for a "closed source" server. You might as … | |
Re: [QUOTE]how i can make a user registration window to make user registered with the site[/QUOTE] You'll have to create a form with the fields you require included. This form will have to be submitted to a server side script(php, asp, coldfusion, jsp...). Then the script will send the form information … | |
Re: Most problems with inserts have to do with the use of quotes in queries and datatypes. Do any of the fields in the query have a numeric datatype? If so, they will not require a single quote around them in the query. | |
Re: Check out the Dynamic Drive [URL="http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm"]Cross Browser marquee[/URL]. I have used it before in conjunction with php and mysql. Basically, you create a form which posts to the server which updates the db and dynamically pulls the newest information first. | |
Re: What version of php are you using? I believe if it is below 5 then you'll have to replace all instances of private with public. | |
Re: For data security, avoid sql injection by using stored procedures, data validation, and any other means that you can expend. Also, use secure socket layers for any sensitive information that the user may view or enter and use secure shell instead of ftp for moving your files to and from … | |
Re: You can do whatever you want with JavaScript. JavaScript runs on the users machine, is under complete control of the user, and the user can disable it (easily). While disabling right click or print screen will keep the average user at bay, it will not stop someone who understands what … | |
Re: [QUOTE]Alright so after many people asking me to post the login script I use for my site at locatestyle.com, I made two functions. [/QUOTE] Who asked you to post this? |
The End.