231 Posted Topics

Member Avatar for ray@lauray.net

Hi, you simply check the data from your SQL-result and place it in the HTML-Form. Eg: [CODE]<input type="text" value="<?echo $row[0]?>">[/CODE] as row is the fetched row of the query. When using fetch-array it's kind of [CODE]<input type="text" value="<?echo $arr['email']?>">[/CODE] or whatever, but I'm not really used to that (I'm very …

Member Avatar for ray@lauray.net
0
246
Member Avatar for manchurianCEO

Yes, they can. You can actually do all stuff Google has done in their products apart from dynamically changing the content of your webpage without reload. You then need to work with JavaScript.

Member Avatar for sDJh
0
132
Member Avatar for saybabs

1) zip 2) use mail-function and manipulate header [URL="http://www.php.net/manual/en/function.mail.php"]http://www.php.net/manual/en/function.mail.php[/URL] [URL="http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php"]http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php[/URL]

Member Avatar for G&G Designing
0
111
Member Avatar for bjbillups

Hello altogether, basically, modern filesystems like HFS+ don't need to be defracmented. And nevertheless, that shouldn't be the bottleneck of you problem as far as I can see. Why do you want to use Norton? It's well known that it's slow and very much out of date. When you have …

Member Avatar for sDJh
0
340
Member Avatar for 080346

Hi, this should easily work with SWF-Tools ([URL="http://www.swftools.org/"]http://www.swftools.org/[/URL]). It's a community open-source project with very good reputition already. It's really worth a try! Greetings Simon

Member Avatar for sDJh
0
639
Member Avatar for 080346

Hi, as much as I know, you can use the function [CODE]loadVariables(url, "_root.response", "GET");[/CODE] in your flash file. In PHP you simply embed your flash-file with arguments like [code]"file.swf?arg1=..."[/code]. Try that out. If it's not working then feel free to ask again. Hope that helps, Simon

Member Avatar for sDJh
0
140
Member Avatar for aithabuddy

is your subdomain pointing to a sub-folder of your server? I bet so? So why not simply putting that htaccess-file there?

Member Avatar for sDJh
0
66
Member Avatar for sha1023012

how about having a look at the generated HTML-Output? That helps you to understand the problem.

Member Avatar for rotten69
0
2K
Member Avatar for Tenaciousmug

Have a look at the funktion "[B]mktime[/B]()" on php.net. It is a very poweful yet simple function for date and time calculations.

Member Avatar for diafol
0
94
Member Avatar for jacksantho

hi i you're using the xml-version of an excel file it should be at least reasonably simple. If not, I actually think that you're getting into deep trouble. There are basically three ways. 1) Take some money and buy a professional solution. 2) Google very long in the net and …

Member Avatar for chrishea
0
1K
Member Avatar for sdbluestem
Member Avatar for jingda
0
233
Member Avatar for McLaren

Why don't you simply fetch the errpor-output of mysql [URL="http://php.net/manual/en/function.mysql-error.php"]http://php.net/manual/en/function.mysql-error.php[/URL]? So in case something goes wrong you can still undo the paying.

Member Avatar for McLaren
0
99
Member Avatar for TIP.Synergy

Well have a look in you other post. Sorry to say that, but grab yourself a book and learn assembly if you really want to. There's no help for anyone asking the most simpliest questions. Learing assembly is pure pain and on have to be very serious when doing so.

Member Avatar for sDJh
0
57
Member Avatar for TIP.Synergy

You have to write that yourself. If you don't want to, than stick to a higher language. Write a procedure that compares two strings. You need a loop that compares each byte in the strings. If all values are identical, then you can set the equal-flag, if not not you …

Member Avatar for sDJh
0
100
Member Avatar for LMat619

I dunno what the code above actually does. My first idea for an approach would be to loop through a string until I get a "0" (like line 9) and increment a counter everytime a get a space. That's all. Start debugging your code. Set breakpoints and some short outputs …

Member Avatar for sDJh
0
292
Member Avatar for crazycat503

have a look at scanimage: [URL="http://www.sane-project.org/man/scanimage.1.html"]http://www.sane-project.org/man/scanimage.1.html[/URL]. You could probably access via PHP as well, but I'm not sure. I imagine the scanner be connected directly to the host (also via LAN to access a device on the local machine => see manpage) and with a web interface you could view …

Member Avatar for crazycat503
0
87
Member Avatar for andrewliu

[CODE]a[index_1][index_2]=newvalue;[/CODE] or you look here: [URL="http://de3.php.net/manual/en/language.operators.array.php"]http://de3.php.net/manual/en/language.operators.array.php[/URL]

Member Avatar for andrewliu
0
1K
Member Avatar for wildplace

1) 0x80 + 0x40 = 0xC0 0xC0 > 0x80 => setting the signed flag 2) 0x80 + 0x80 = 0x(1)00 Cannot represent numbers greater than 0xFF => setting Carry MSB cleared, so Overflow set 0x00 => Setting the Zero 3) 0xC0 + 0xC0 = 0x(1)80 Cannot represent numbers greater than …

Member Avatar for wildplace
0
806
Member Avatar for kukuruku

ASM is the purest developing language available. It just translates Mnorics to hex code. The good thing is you can control up to 100 percent what your CPU is supposed to do. CPUs dont distinguish between signed or unsigned variables. They don't even know the difference between datatypes. CPUs do …

Member Avatar for sDJh
0
110
Member Avatar for keyroche

Hi kroche! As simple as that: [CODE]<? $f=file("http://localhost/test/test.php"); for($x=0;$x<count($f);$x++){ echo $f[$x]; } ?>[/CODE] Whereas "test.php" is your PHP file that you want to save. And instead of doing an echo, you simply open a file for writing and put all that content in it. Voilà.

Member Avatar for sDJh
0
621
Member Avatar for Ra552

@jordan: That should definately work, but you have to prepare your mac to boot linux ([URL="http://refit.sourceforge.net/"]http://refit.sourceforge.net/[/URL]). @urmyt0y: What filesystem have you used under windows? NTFS should work actually (read-only). But with a 3rd-party plugin you can fully access NTFS. Why don't you just ask a friend to copy the stuff …

Member Avatar for dioioib
0
308
Member Avatar for redmaverick

What you could do, but really bad style, is making the document refresh automatically with [CODE]<META http-equiv="refresh" content="...">[/CODE] or JS [CODE]document.location.href="..."[/CODE] If you just want to split up your code, than you can access the output of a php-file with [CODE]fopen("http://yourserver/yourfixle.php");[/CODE] but this may make the whole stuff slow down. …

Member Avatar for deepakrajpal
0
2K
Member Avatar for sillverstixx

when using imagecopy, you have to allocate the image before copying. In your case you copy it somewhere (hopefully PHP catches that bug!). [CODE]else { //create your empty image here. $image = @$imagecreate($phpbb_root_path.$sprites_path.'/'.$HTTP_POST_VARS[$Lrow['name']]); @imagecopy ($sprite_1, $image, 0, 0, 0, 0, $tot_width, $tot_height); @ImageDestroy($image); }[/CODE] this is all I can think …

Member Avatar for sDJh
0
257
Member Avatar for chakebubu

??? 1) PHP is universal for all major OSs 2) Using PHP as a server language CANNOT process dynamic data! And if you don't want to use it as a server language, go for C++, Fortran or any BASIC-dialect. 3) if you really intend to do in in a browser, …

Member Avatar for sDJh
0
39
Member Avatar for CasTex

??? 1) outsource the creation of the image. Make a image.php where you put your code into. 2) make a new file, write a html-hyperlink, and then use <img src="image.php"> should work. You cannot output an image after having used html-syntax. So image-creation has always to be outsourced.

Member Avatar for onlymani
0
197
Member Avatar for Awah Mohamed

I totally agree with jkon. Five minutes of research in the net would be enough to find answers to most of your questions. > do i need to learn another lamguage or php is okay. No, PHP can't do that. > will i need flash?? If you like. > how …

Member Avatar for Awah Mohamed
0
109
Member Avatar for hicman

You always have to use "header()" before you generate any output. With the first output, PHP sends automatically the standard-header which cannot be manipulated afterwords. And why do you output the generated text in an image? Remember, that the output of the php-script will be treated as an image! If …

Member Avatar for hicman
0
306
Member Avatar for smchauhan

Guess you can do it in java or flash. Or you write you own lib and access it via exec. Could be worth trying it.

Member Avatar for vicfen2k9
0
116
Member Avatar for zit1343

You can use AJAX. Have a look for some tutorials. Also you can get some more information in the AJAX-Forum on Daniweb. Regards

Member Avatar for diafol
0
75
Member Avatar for ryan311

Erm, just put more than one file-elements in your HTML-script. the very simplest way of doing so is to make the name of the fields an array: [CODE] <form action="add_file.php" method="post" enctype="multipart/form-data"> <input type="file" name="uploaded_file[0]"><br> <input type="file" name="uploaded_file[1]"><br> <input type="submit" value="Upload file"> </form>[/CODE] In your PHP-file you just have to …

Member Avatar for richieking
0
173
Member Avatar for emorjon2

you need the MBR signature. Make your fill-up 2 Bytes shorter and put an 0xAA55 at the end of the file. Have a look here: [url]http://en.wikipedia.org/wiki/Master_boot_record[/url]

Member Avatar for sDJh
0
223
Member Avatar for praveen_dusari

some people use images as a table background ("background-image") and then put a transparent gif over it. So when the user wants to save the image he/she just saves the gif. Might work with a few but people who want to have you image just copy it from their browsers …

Member Avatar for DanielTulp
0
828
Member Avatar for beginner1

what do you wanna hear? you can have general purpose registers like EAX, EBX etc, segment registers like CS, DS, SS and so on, memory data like [storage], immediately data like $FF or a vector to a label (eg JMP somewhere). If I haven't forgotten anything, than that's all you …

Member Avatar for sDJh
0
60
Member Avatar for ello

how about writing all that stuff directly to a file? [CODE]echo '<span class="pink">' . $row['q_quote'] . "</span>"; fwrite($file,$row['q_quote']);[/CODE] Now you just have to provide a link to your output-file so that the user can download the stuff.

Member Avatar for sDJh
0
111
Member Avatar for s_jmp
Re: ORG

Basically it just makes sure that the assembled byte-code starts at "ORG". If you want to have a running COM-file under MS-DOS for instance you need exactly 100h of free mem for stuff like stack, commandline-arguments etc provided by DOS. And as this command just makes sure that IP points …

Member Avatar for dan63043
0
93
Member Avatar for terrymold

I think we actually need more information about this. The problem itself is quite simple, though: the condition "if (in_array($fileType, $image_array))" is not met. Start debugging you code: make an output of $fileType and $image_array right before the condition and let the code run under FF and IE. I guess …

Member Avatar for metalix
0
143
Member Avatar for Swiftle

Hi Swiftle, I am not sure if I got you right. And I haven't tried out what I am telling you. So please verify the stuff I'm just writing down. When you call a procedure, CALL simply pushes the address of the very next instruction onto the stack. Now the …

Member Avatar for sDJh
0
136
Member Avatar for raju_boini525

Don't you think that are bit few information? What do you actually want to hear? You could have a problem with your harddrive. Or a virus running. maybe even your firewall makes trouble. Or windows. I guess you do have a problem with your upload. Maybe you're accessing the picture …

Member Avatar for sDJh
0
77
Member Avatar for Ajivani

I guess it's one of these "standart-cookie-problems" with IE. I just can give you some advice how to break down the pain: 1) find the code where a cookie is set or a session is started 2) isolate that stuff in a new file and get it working under FF …

Member Avatar for sDJh
0
80
Member Avatar for Parva0516

Hello Parva, first of all: I can't imagine that the problem is caused by the game. Very strange problem you have there. Personally I would try to replace the computer completely. What you can try is: 1) Check if your harddisk is full. This may cause the OS to slow …

Member Avatar for el.gibbon
0
874
Member Avatar for philip.s

I guess that getlinks() returns an array with all links in a page. So if you go through that array with a for-loop you can simply save them in a database with a regular SQL-expression.

Member Avatar for diafol
0
123
Member Avatar for hims4u

??? I think you're totally off the track. Whatever you want to do: HTML can never ever output anything as well as PHP can't display anything. If you want to so an output of data submitted by a user you have to do it exactly the other way round: Create …

Member Avatar for hims4u
0
166
Member Avatar for BTW8892

a) I don't know. And for me it would take too much time to find out. Just write a code like that: [code] $a=mysql_fetch_row($result); $sum=array_sum($a);//http://de3.php.net/manual/en/function.array-sum.php arsort($a);//http://de3.php.net/manual/en/function.arsort.php $max=$a[0]; [/code] b) why not? Save a unique ID for each user in your `player_stats` and `player_pics` and select the image from `player_pics

Member Avatar for BTW8892
0
117
Member Avatar for SerjSagan

Well then, why do you use PageSpeed? I actually never heard about that before and having had one minute a look at it, it doesn't really make sense to me. For the most simple way to find out how fast you code really is, use the function microtime() ([url]http://de3.php.net/manual/en/function.microtime.php[/url]) after …

Member Avatar for sDJh
0
149
Member Avatar for Chosen13

What kind of ideas are you looking for? I can't really see a problem. Just create a file, with all options given by the author and save an array after a specific symbol (I always use a pipe "|") with all users that have already voted. To know how many …

Member Avatar for sDJh
0
143
Member Avatar for diehardfighter

It's not so easy to explain in words , I think, but don't worry it's quite easy to solve in PHP. You have to decide wether you want to use a database like MySQL or not. It's not really necessary, but can make changes to the code easier in the …

Member Avatar for diehardfighter
0
108
Member Avatar for wish02

You should probably ask in the Javascript forums as this can't be done in PHP. And honestly, if you really want the arguments passed to PHP to be shown in the webbrowser's addressbar than you're better of not using iframes. [EDIT] The only thing that I can think of to …

Member Avatar for sDJh
0
317
Member Avatar for citizenjawahar

Did you already write your bootloader? If yes, than most work is already done. You just place all the following stuff at the end of the loader, load that stuff into mem and execute it by setting CS to that point. Displaying a string is the same as displaying a …

Member Avatar for magnuss6
0
531
Member Avatar for rizwan6feb

I guess id would be easier to simply send commands to you server via HTTP. When createing XML or any other file you have to upload and decrypt it on your webserver (which is also possible though but takes you maybe 30% more effort). I'd start off with these ideas: …

Member Avatar for nik00726
0
1K
Member Avatar for sDJh

Hello folks, I just updated my homeserver to PHP 5.3.1 and I get now the following error when executing my scripts: [CODE]Cannot use string offset as an array[/CODE] The variable looks like: $bes[$a[3]][$a[4]][$a[6]], where $bes is a three-dimensional array that holds all information I need during runtime. The $a's can …

Member Avatar for ShawnCplus
0
174

The End.