Forum: PHP 11 Hours Ago |
| Replies: 8 Views: 178 I dunno, havent thought about that
My version downloads a zip file of the new script using a force download script that the user then unzips over the top of their existing folders
combining the... |
Forum: PHP 1 Day Ago |
| Replies: 1 Views: 131 From a prior thread (http://www.daniweb.com/forums/post1008593.html#post1008593)
<a href='download.php?file=thisfile.pdf'>download Thisfile.pdf</a>mysql<?php /*download.php*/
If... |
Forum: PHP 1 Day Ago |
| Replies: 8 Views: 178 http://www.daniweb.com/forums/post785006.html#post785006
I used to think, Now I just cut n paste |
Forum: PHP 1 Day Ago |
| Replies: 8 Views: 242 THREAD HIJACK ALERT :P
--
Thanks Digital-Ether
this is better code, idea I had not seen b4
my site is from database, results on the fly compression is normal, ecexcluded those from being... |
Forum: PHP 2 Days Ago |
| Replies: 8 Views: 242 BS
not widely compatible -- with what --
the user browser sees nothing of what occurs on the server, only the output
by any method
the browser sends accept encoding ..
the server sends... |
Forum: PHP 2 Days Ago |
| Replies: 8 Views: 242 Which method are you using
.htacess file handlers, which works only sporadically
php headers within the files which works more often
part of included header <head><link rel="meta"... |
Forum: PHP 4 Days Ago |
| Replies: 3 Views: 189 This is the ideal thing to do with AJAX,
can't ask me how, I dunno
in the adjacent AJAX DHTML Javascript (http://www.daniweb.com/forums/forum117.html) forum there are ajax gurus for whom this is a... |
Forum: PHP 4 Days Ago |
| Replies: 3 Views: 189 No
PHP is serverside, only the output of the php is sent to the browser
javascript is clientside,
the two meet in AJAX
whcih has a bit of a leaning curve...
What were you trying to accomplish... |
Forum: PHP 5 Days Ago |
| Replies: 4 Views: 179 show the sql to populate the result array, just hunting for ideas |
Forum: PHP 5 Days Ago |
| Replies: 3 Views: 203 email header Reply-To:
To --obviously
From --you, you get bounces
set Reply-To: as sales, they will get genuine replies |
Forum: PHP 5 Days Ago |
| Replies: 4 Views: 176 Yes But
for the most appropriate cms in the orignal list,
RTFM, the process for each is different many allow codeview |
Forum: PHP 5 Days Ago |
| Replies: 2 Views: 141 csv is a good flat file system for porting any kind of data between incompatible system |
Forum: PHP 6 Days Ago |
| Replies: 3 Views: 145 In case you are really newyou get error line 46,
the file has 45 lines in it,
and the visible error was on line 28 line count as the file executes considers includes as part of the file
there... |
Forum: PHP 6 Days Ago |
| Replies: 6 Views: 233 No bloke, apologies, i meant your method is tidy and browser independent,
css tweaks of standard items dont work in all browsers
the php_self code floats in my head all the time, its a convenient... |
Forum: PHP 7 Days Ago |
| Replies: 6 Views: 233 If you want to do it that way(a tidy, browser independent, way to do it ) $url = $_SERVER['PHP_SELF']; |
Forum: PHP 7 Days Ago |
| Replies: 6 Views: 233 dunno, but style the input.submit
input.submit {background:none;border:0;color:#ff0000; }<input type='submit' style="background:none;border:0;color:#ff0000;" value='something'>(untested) |
Forum: PHP 14 Days Ago |
| Replies: 6 Views: 379 rewrite rule should redirect any call to sitemap.xml to sitemap.php if mod_rewrite is compiled in to the apache server, by default it is, but...
just change the second filename to ''whatever your... |
Forum: PHP 15 Days Ago |
| Replies: 6 Views: 379 apache mod_rewrite in the .htaccess file
any calls for sitemap.xml ,,,RewriteEngine ON
RewriteRule ^sitemap.xml? sitemap.php so just make your php script a php script |
Forum: PHP 19 Days Ago |
| Replies: 16 Views: 90,940 for me it is 3am
corrected text should read
The nocache code previously listed should be inserted in "page.php" not "getImageFromDatabase.php" else that code is output to the browser |
Forum: PHP 19 Days Ago |
| Replies: 16 Views: 90,940 Have messed this up b4
If the nocache code is getting displayed in the browser in the output window
Assuming the page displayed is "page.php"
page.php includes the line <img... |
Forum: PHP 20 Days Ago |
| Replies: 5 Views: 269 Got to give Kudos for the self confidence,
&
you found a great place to ask questions if confidence isnt enough |
Forum: PHP 26 Days Ago |
| Replies: 3 Views: 207 the rar file contains text only, but yes it would be silly to take my word for it,
google.co.uk/search?q=leaked+UK+postal+database... |
Forum: PHP 26 Days Ago |
| Replies: 3 Views: 207 Lost some details of the post, damn edits
In UK Canada Yes
In US Au no
for the uk get the database to import to a sql table or red from perl
here... |
Forum: PHP Nov 3rd, 2009 |
| Replies: 1 Views: 203 http://www.google.com/search?hl=en&safe=off&q=php+youtube+clone&btnG=Search&meta=&aq=f&oq= (http://www.google.ca/search?hl=en&safe=off&q=php+youtube+clone&btnG=Search&meta=&aq=f&oq=) |
Forum: PHP Oct 23rd, 2009 |
| Replies: 3 Views: 251 Bytehost only support Cron in premium accounts
You could schedule a php task from your local pc at the time appropriate
there are a bunch of possibilities... |
Forum: PHP Oct 21st, 2009 |
| Replies: 4 Views: 258 limit =1 ? if you only want one pic
or if pictures in albums are number, select only number 1 in each album
hard to code without knowing the data structure |
Forum: PHP Oct 14th, 2009 |
| Replies: 4 Views: 205 I ran it through a syntax checking editor
Syntactically the first one is correct code
each line was right in itself
It took asking my 18 year old for a hint,
he just said
"whats the query?" ... |
Forum: PHP Oct 14th, 2009 |
| Replies: 4 Views: 205 <?php
/* connect select db etc */
$flat=("SELECT C.Latitude, C.Longitude FROM Cities C JOIN Countries Co ON Co.CountryId = C.CountryId JOIN Regions R ON R.RegionId = C.RegionId WHERE C.City =... |
Forum: PHP Oct 11th, 2009 |
| Replies: 1 Views: 233 its not a new type of scripting
its a script using php, the brand name of an image script
with it you upload images and display and manipulate them
details http://www.4homepages.de/ , english text... |
Forum: PHP Oct 10th, 2009 |
| Replies: 9 Views: 409 At the moment I'd go with iv,
climb up the host and beat them about the head till they explain what they did in the server change and fix it.
not particularly useful,
hoped the questions... |
Forum: PHP Oct 10th, 2009 |
| Replies: 9 Views: 409 A caveat applies
There is not enough information to provide accurate answers, to try to elicit information is the portal remotely hosted
if remote they may have a support desk Do you control the... |
Forum: PHP Oct 9th, 2009 |
| Replies: 3 Views: 369 the first lines of the postis there any part of get the correct code from the flash player web site that I can make clearer, the parameters for the player will be different
using a server side... |
Forum: PHP Oct 9th, 2009 |
| Replies: 15 Views: 373 |
Forum: PHP Oct 9th, 2009 |
| Replies: 3 Views: 369 depending on the script/controls/parameters of the pplayer you select
<a href='#' onclick='player.src="file.mp3";'>Play file</a>this is a simple wmp, because the code is in my head already, get the... |
Forum: PHP Oct 8th, 2009 |
| Replies: 15 Views: 373 True, "display in the browser" downloads a copy in the TIF, you can drag that copy anywhere
I have Acrobat, not reader, and can add restrictions on printing, but screen capture utilities can... |
Forum: PHP Oct 8th, 2009 |
| Replies: 4 Views: 560 Where the file is accessed by <a href='download.php?file=thisfile.pdf'>download Thisfile.pdf</a>
mysql<?php /*download.php*/
If (!$_POST['file']='') {
/* validate $_POST any amount of form... |
Forum: PHP Oct 8th, 2009 |
| Replies: 10 Views: 334 second code runs on my ide,
<?php
class CreateAccountPage {
public function __construct() {}
public function title() { return 'Create Account'; }
public function inlineStyle() { return... |
Forum: PHP Oct 3rd, 2009 |
| Replies: 2 Views: 268 I dont like tables much, but for tabular data like this they Work :)
try
<table rules='rows' class='tbl_Size_Chart' >
<caption>Size Chart - Children</caption>
<tr class = "row_height"><!-- Row 1... |
Forum: PHP Oct 3rd, 2009 |
| Replies: 32 Views: 1,041 so the end result is an enhaced tooltip,
specific to the region/anchor/link that is clicked
this code sample creates a layer, that embeds in any page to provide tooltips without any external file... |
Forum: PHP Oct 3rd, 2009 |
| Replies: 32 Views: 1,041 why javascript
javascript is blocked on a large proportion of the potential market
passing as a url, the page is being reloaded
best practice; prepare the page serverside, then you can be sure its... |