244 Posted Topics

Member Avatar for stimpy

Due to domain security you cannot do this. Your preferences can only be accessed over the domain so you will eather have to recconect to the domain or manually copy the files #microsoftfail =)

Member Avatar for samarudge
0
104
Member Avatar for bimaljr

use the [icode]include(); || require();[/icode] functions to reduce your file sizes, split things up. Put functions in there own files etc.

Member Avatar for samarudge
0
77
Member Avatar for samarudge

Hi, So I have the following code [code] m = Microphone.get(); o = attachAudio(m); m.setUseEchoSuppression(true); onEnterFrame = function () { vol._xscale = m.activityLevel*100; soundvol = m.activityLevel; inputname = m.name; micgain = m.gain+"%"; outputvolume = m.; freqvolume = \\something }; [/code] As you can see, that code starts taking the input …

Member Avatar for JasonHippy
0
85
Member Avatar for smartspriggs

[QUOTE=smartspriggs;1062975]I have a .phpfile in the xamp/php/www folder but can't get it to work with lofalhost.[/QUOTE] Firstly be more specific (Explain your problem more clearly) Secondly I was under the impression that XAMPP doc root was /xampp/htdocs/ but I may be wrong

Member Avatar for diafol
-1
95
Member Avatar for samarudge

Hi, I need to create a function to shorten a numerical ID to a string of letters E.G. [code=php] echo encode_num('1'); //Outputs a echo encode_num('3'); //Outputs c echo encode_num('26'); //Outputs z echo encode_num('27'); //Outputs A echo encode_num('52'); //Outputs Z echo encode_num('53'); //Outputs aa echo encode_num('54'); //Outputs ab [/code] etc. But …

Member Avatar for samarudge
1
113
Member Avatar for aman rathi

Download the file attached to this post, extract the file and double click it to run it (Click yes or accept or whatever) and that should enable task manager again.

Member Avatar for akai10
0
151
Member Avatar for samarudge

Hi, I have just got Google Wave but don't have any contacts (Appart from the person who invited me) I can't figure out how to invite people eather so I was wondering if people would like to post there GMail addresses here I can add you so I can finally …

Member Avatar for santiagozky
0
202
Member Avatar for itisnot_me

[QUOTE=itisnot_me;1040484]ok so i am an avid php developer and i am starting to get into ajax so i can keep file sizes and code down to a minimum. i am looking in the w3schools ajax examples but i am a little lost at how to send through a variable to …

Member Avatar for samarudge
0
315
Member Avatar for ahmksssv

It would need to be done in Flash, not Javascript. I am working on a similar project and my player is roughly based on the source of this [url]http://flash-mp3-player.net/[/url]

Member Avatar for ahmksssv
0
223
Member Avatar for samarudge

Hi, My friend has designed a website in Fireworks/HTML and has just saved all her images in Fireworks/PNG format. She has about 300 images all designed in Fireworks but they have all been saved in a format where someone can download them and open them in Fireworks and they will …

Member Avatar for samarudge
0
153
Member Avatar for Clawsy

Storing files as, well, files is never a good idea, if stored as PHP files and then include/require(ed) the scripts could contain malicious code. There are two options; 1, Save the file as .htm, .html, .txt (or some other plain text format) Include the file with [code=php] <?php echo file_get_contents($FileToGet); …

Member Avatar for Clawsy
0
293
Member Avatar for samarudge

Hi, I have some code to dynamically retrieve one of three AJAX files and insert it into a DIV The Javascript is [code=javascript] function createajax() { var Ajax; try{ Ajax = new XMLHttpRequest(); } catch (e){ try{ Ajax = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try{ Ajax = new ActiveXObject("Microsoft.XMLHTTP"); …

Member Avatar for ShawnCplus
0
114
Member Avatar for samarudge

Hi, On my websites, I encrypt passwords using a combination of hashing algorithm (Which I am obviously not going to post on a forum but its along the lines of [icode]md5(substr(whirlpool($Value), 0, 7));[/icode]) What is blowfish, how do I use it and how much more secure is it than a …

Member Avatar for digital-ether
0
175
Member Avatar for joesblues

I think you might have a virus, make sure you are using one of the big 3 (Norton, AVAST or KAPERSKY/KAPERSPY or however its spelled) and they are fully updated then run a boot scan or run a scan from Safe Mode, Make sure you back up as much as …

Member Avatar for Bob_180_Bob
0
368
Member Avatar for wayz1229

Not 100% sure what you are trying to do but mysql(i)_insert_id() can get the primary key from the last insert statement [url]http://php.net/mysql_insert_id[/url] [url]http://php.net/mysqli_insert_id[/url] (If using MYSQLI link)

Member Avatar for Graphix
0
151
Member Avatar for samarudge

Hi, I have created a script to upload files [CODE=php]$filename = $_FILES['Filedata']['name']; $filetmpname = $_FILES['Filedata']['tmp_name']; $fileType = $_FILES["Filedata"]["type"]; $fileSizeMB = ($_FILES["Filedata"]["size"] / 1024 / 1000); //Irrelevant validation here move_uploaded_file($_FILES['Filedata']['tmp_name'], $_SERVER['DOCUMENT_ROOT']."/content/songs/file.mp3");[/CODE] And that returns OK to the browser allong with my success message but the file doesn't exist, when I look …

Member Avatar for network18
0
105
Member Avatar for vaultdweller123

Step 1: Get reseller hosting; 90% of reseller hosting services will let you host UNLIMITED WEBSITES with UNLIMITED BANDWIDTH at no extra cost (Although some you have to pay for your domain names but that's about $10 a year) Most reseller hosting will allow you to completely custom brand your …

Member Avatar for vaultdweller123
0
157
Member Avatar for samarudge

Hi, I have a movie clip called [icode]dsp_albumcover[/icode] (Already created and on the stage, instance name is dsp_albumcover) I also have a variable with a .jpg file (Can be changed to any other though) defined as [CODE=actionscript] var albumimg:String = '/albumcover.jpg'; [/CODE] How do I load this in to dsp_albumcover? …

Member Avatar for samarudge
0
187
Member Avatar for samarudge

You must post a compleatly disasociated word to the previous one I.E. Elephant, Battery is [COLOR="Green"]OK[/COLOR] Elephant, Plant is [COLOR="Green"]OK[/COLOR] Elephant, Giraph is [COLOR="Red"]NOT [/COLOR](Both Animals) Elephant, Table is [COLOR="Red"]NOT [/COLOR](4 Legs) Etc. Not allowed words: Universe, Plannet, Dictionary, Thesorus, Internet (Including Google :P) and any other words that are …

0
60
Member Avatar for samarudge
Member Avatar for samarudge

Hi, I am trying to retrieve the contents of my XML file and use the variables later on in the script; I have the following actionscript code [CODE=actionscript3]// Get XML Vars var xml:XML; var urlLoader = new URLLoader(); var songdataurl:String = '0'; urlLoader.addEventListener(Event.COMPLETE,onXMLLoaded); urlLoader.load(new URLRequest("data.xml")); function onXMLLoaded(e:Event):void{ xml = new …

Member Avatar for samarudge
0
159
Member Avatar for Dhaneshnm

[CODE=html]<form id="form1" action="#" method="post" enctype="multipart/form-data" runat="server" target="myframe"> <input type="file" id="myfile" accept="image" runat="server"/> <input type="submit" value="upload" runat="server" /> </form> <iframe id="myframe" name="myframe"> </iframe>[/CODE] Does that work now?

Member Avatar for Dhaneshnm
0
817
Member Avatar for samarudge

Hi, I am having a problem with my PHP mail function. I am trying to send an email from [email]user@site.com[/email]. This code is fine: [code=php] mail($to, $subject, $body, "From: user@site.com\n" . "MIME-Version: 1.0\n" . "Content-Type: multipart/alternative;\n" . " boundary=" . $mime_boundary_header) or die('Mail Error'); [/code] however this does not [code=php] …

Member Avatar for crazyb0y
0
195
Member Avatar for samarudge

This is probably one of the oddest SEO questions ever but here we go; My site is showing up fine on the keywords I want but it is also showing up top on keywords that I don't want it to show up on. Is there any way to get Google …

Member Avatar for Godsp3ed
0
149
Member Avatar for sam023

Due to the way the HTML file selector works it is not possible to do this through only HTML/PHP However... It is possible through Flash There is a brilliant up-loader here - [url]http://swfupload.org/[/url] It allows you to specify file type as well as showing a progress bar

Member Avatar for edwinhermann
0
101
Member Avatar for groogruxking40

2 ways to do this Option 1, as you said, edit the php.ini file however from what you were saying this may be easyer at the start of the file that handels the upload (Not the one with the form on) add this line [code=php] <?php ini_set('upload_max_filesize ', '31M'); //Gone …

Member Avatar for samarudge
0
70
Member Avatar for innocent.boys
Member Avatar for edwinhermann
0
3K
Member Avatar for valonesal

There are a few options 1st would be JoomlaXplorer if you are running a Joomla system This is a very good method of editing files and includes pritty syntax highlighting which makes it much easyer to edit 2nd Dustin Minnich's Simple PHP File Editor [url]http://www.dminnich.com/files/php_simple_fileed.tar.gz[/url] (Download) or [url]http://www.hamburgernecklace.com/dm/demo/php_simple_fileed[/url] (Demo) Never …

Member Avatar for diafol
0
1K
Member Avatar for Venom Rush

See the contents of your variable with [code] print_r($row); [/code] This prints out all the values in an array

Member Avatar for Venom Rush
0
124
Member Avatar for lobas

[code]$Escaped = mysql_real_escape($String);[/code] or [code]$Escaped = mysqli_real_escape($Connector, $String);[/code] (Depending on connector used)

Member Avatar for somedude3488
0
90
Member Avatar for rajesh_kanna

If you use Dreamweaver it can create them for you (Spry>Menu) but this is realy much more to do with HTML, CSS and Javascript than PHP

Member Avatar for diafol
0
112
Member Avatar for Sevenupcan

For doing something like this you should realy look into imagemagik etc. as GD is very CPU intensive and lower quality

Member Avatar for samarudge
0
118
Member Avatar for angryfans

But TommyBs, that will be the first 50 charicters. I would do something like this [code=php] <tr> <td bgcolor="ffffff" width="400" valign="top"><img src="mainpic.jpg"></img></td> <td bgcolor="ffffff" width="360" valign="top"><h4><? echo "$headline"; ?></h4><h3><? $Words = explode(" ", $story); //Split it into individual words $i = 0; //Loop var while ( $i <= 50 ) …

Member Avatar for diafol
0
115
Member Avatar for kako13

This is nothing to do with PHP, its all to do with the browsers trying to "URL Encode" the strings.

Member Avatar for kako13
0
174
Member Avatar for stuckinmud

This can be achieved using IFrames (Inline Frames or Framesets) basicaly its a window within a page that can display another page. You could set it up like this [CODE=html] <iframe name="Frame" width="400px" height="300px" frameborder="0" src="homepage.html"></iframe> [/CODE] That code will embed homepage.html within the 'parent' page. Next we need some …

Member Avatar for samarudge
0
149
Member Avatar for sandeep.nami

Well in that expression it meens if it fails to connect to the database (IE the function returns a FALSE value) it will run testFun(); Probably the most common use in that format is [code=php] mysql_connect('localhost', 'root', 'password') or die(mysql_error()); [/code] which trys to connect to mysql and if it …

Member Avatar for samarudge
0
79
Member Avatar for whiteyoh

Replace with this code should work: [CODE=php]<?php session_start(); ?> <?php if (isset($_POST['submit'])) { if (isset($_SESSION['captcha_keystring']) && $_SESSION['captcha_keystring'] == $_POST['keystring']) { // Grab the form vars $name = (isset($_POST['name'])) ? $_POST['name'] : '' ; $email = (isset($_POST['email'])) ? $_POST['email'] : '' ; $org = (isset($_POST['org'])) ? $_POST['org'] : '' ; $bname …

Member Avatar for samarudge
0
118
Member Avatar for itsrahulk

[CODE=php]header('Location: '."http://".$_SERVER['HTTP_REFERER']);[/CODE] Try that one out

Member Avatar for samarudge
0
132
Member Avatar for DSVRaman

When I set up my first server I used this tutorial [url]http://www.howtoforge.com/perfect-server-fedora-11-x86_64-ispconfig-2[/url] This contains instructions for all the latest software so you can have an up to date server

Member Avatar for yc2266
0
92
Member Avatar for alishiraz89

Posting to the forums for something like this might not be the best place to do it. Look in the Geeks Lounge forum. However I have some experience with PHP, AJAX, HTML and Flash and I would enjoy getting envolved in something like that so PM me with your email …

Member Avatar for samarudge
0
80
Member Avatar for mrcniceguy

Clasic examples of rules in spam filters are If your site is younger that about a year Your message is in plain text The email address you are sending from doesn't actualy exist (The server can't send a message back to it) The SMTP server you are using to send …

Member Avatar for mrcniceguy
0
148
Member Avatar for samarudge

Hi, I have used AJAX lots before and I wondered if it was possible to set variables from an AJAX file E.G. an ajax file could set var set1 = 10; var set2 = 55; with both variables coming from an external file called by AJAX Could you tell me …

Member Avatar for Airshow
0
130
Member Avatar for gagan22

When you reffer to the security_code what do you mean? Do you mean some sort of CAPTCHA or something where people enter some sort of password. Pleas be more specific in your posts and possibly post some of the code where you think the error is occuring.

Member Avatar for gagan22
0
135
Member Avatar for buzzby8

PHP uses ZEND to get data from remote sites (E.G. the Google APIs get data from the google servers) so if ZEND was trying to get data from the Built2go site then it would call an error if their site is down.

Member Avatar for samarudge
0
92
Member Avatar for Mike24x

Try start>accessories>system tools>system restore and select a date when you didn't have a problem. If that doesn't work post bak on the result/error

Member Avatar for Rik_
0
179
Member Avatar for zoro11
Member Avatar for peter_budo
0
541
Member Avatar for gptArun

Most likely not installed properly, do you have a dedicated server? P.S. If its urgent, don't post it to a forum! People are here for leasure not to solve ur comercial problems

Member Avatar for gptArun
0
176
Member Avatar for pradeepktg

JSP is unable to do this because (As far as I am aware) it does not have an image library. You would need to use PHP GD as a backed or something similar. PHP is the preferred method for handling images unless you want to create a custom app in …

Member Avatar for samarudge
0
88
Member Avatar for Zurompeta
Member Avatar for nithy_compvue

The End.