743 Posted Topics

Member Avatar for dkv

Is the exchange server on your localhost? If it isn't then there was no need to configure apache accept ssl. What I think is happening is the exchange server you're testing on requires SSL and your classes do not support SSL or your PHP build does not support SSL.

Member Avatar for dkv
0
315
Member Avatar for soosai

[QUOTE=soosai;637340]hi there....I'm a trainee student who is new to the world to the world of programming.I would like to do a lab time table scheduling system.i have about 100 records where i have to generate list of students according to labs available that equals to the number of computers available …

Member Avatar for casper_wang
0
79
Member Avatar for binukjames

[QUOTE=binukjames;637401][B][COLOR="Green"]I'm developing a WAP site using wml and PHP. i want to display some images from database (mysql). The problem is , how can i display more than one image in a single wml page ? Is it possible to implement "Image Scrolling " using PHP ? please help me …

Member Avatar for binukjames
0
735
Member Avatar for phpmine

[QUOTE=R0bb0b;637060]This is how I would generate those arrays [CODE=php] //$keywordsarray is the array that contains said keywords $twowordphrases = array(); //generate two word phrases for($i = 0; $i < count($keywordsarray); $i += 2) { if(isset($keywordsarray[$i + 1])) { $twowordphrases[] = $keywordsarray[$i] . " " . $keywordsarray[$i + 1]; } } …

Member Avatar for digital-ether
0
216
Member Avatar for joequincy

[QUOTE=joequincy;631448]not quite that simple. It's executing through the Greasemonkey extension or Firefox, and the regular expression is being matched against the HTML of an entirely separate page. I've discovered that the failure arises with several "newline" characters in the HTML. this cannot be changed, so I guess I need to …

Member Avatar for digital-ether
0
225
Member Avatar for mgt

What do you mean by nested select boxes? I don't think you can have nested select boxes in HTML. The only thing I can think of that comes close is the optgroup. http://www.w3.org/TR/html401/interact/forms.html#h-17.6 or are you trying to create the look of nested select boxes with other HTML elements? Could …

Member Avatar for digital-ether
0
1K
Member Avatar for dave_nithis

[QUOTE=dave_nithis;626587]Hi all, I am in the process of creating a web page.The page consists of a form where it will ask the users to give the input values(all values in integers).Those values should be passed and the values should be calculated. I have the wsdl file from the client.I need …

Member Avatar for digital-ether
0
108
Member Avatar for chinalotus

[QUOTE=chinalotus;625914]Hi - Yes, I understand what you are saying. I guess I should have explained further: The images on my web pages are thumbnails linked to PDFs. I would like to password protect the PDFs. So if someone clicks on the link they would be prompted to input a generic …

Member Avatar for R0bb0b
0
326
Member Avatar for kshaik

Use try{ ... yoru code ... } catch(e) { alert(e); } to see whats going wrong. XHR also requires the same origin for request and remote server. Even if www or a sub domain is considered a different origin.

Member Avatar for digital-ether
0
148
Member Avatar for jencinas69

[QUOTE=jencinas69;628549]Question My xml parser is runing into an error when I try to parse the attached csv I think is because of the three commas before the description, I clean the file manually and leave only 1 comma and it work. I there any way I can identify the extram …

Member Avatar for digital-ether
0
67
Member Avatar for kvdd

[QUOTE=kvdd;624255]Look I can put it in a string, but then it would run you know. Please can someone look at the code, or give me a usefull hint. Im not a totally newbe.[/QUOTE] I'm not too familiar with PHP5 but it would look to me that the only place you …

Member Avatar for kvdd
0
86
Member Avatar for jino

[QUOTE=jino;624388]Dear All, I want to convert a jpeg or png or gif file to bmp file ... can anyone help me..... It will be very thankful if anyone publish the code for converting other type of image files to BMP file.. Thanks in advance.. Jino.[/QUOTE] Take a look at the …

Member Avatar for digital-ether
0
57
Member Avatar for CS Lover

[QUOTE=CS Lover;620593]Well, The main problem for any popular [ wide ] Images Hosting website .. is the bandwith ! and this problem can be solved with Multi-Server programming .. with PHP I have some ideas in my brain .. it's like : - administrator provides me with 2 - 3 …

Member Avatar for CS Lover
0
128
Member Avatar for mkerrigan

[QUOTE=mkerrigan;621690]I am trying to only certain characters to be saved to the database from input of a textarea. The input is going to a variable called $vBody. What I have below works: [code]$vBodyCleaned = reg_replace('[^A-Za-z0-9~!@#$%&*()-_=+'|:;",./? ]','',$vBody);[/code] except for the fact that the client wants to preserve the line feeds and …

Member Avatar for ShawnCplus
0
88
Member Avatar for l_kris06

[QUOTE=l_kris06;620431]Hi All, I have a PHP application, that displays information in a table format, each rows contains specifica information which are dynamically fetched from the MySQL database. i am looking for a way to make these individual rows display more information, meaning i want to implement a functionality where in …

Member Avatar for digital-ether
0
2K
Member Avatar for inshi

[QUOTE=inshi;620361]Hi, i have already uploaded a video file in the .avi format, but now am stuck. i don't how to proceed to be able to play the file.i have used the PHP language. it will be very nice if someone can help me.PLEASE.i think a sort of streaming has to …

Member Avatar for digital-ether
0
86
Member Avatar for Fost

I can't imagine changing the type property to be that slow but what if you remove the value first? [CODE] // Clear the input when you click in it var pf = function() { if(sitepasstext.type == 'text') { sitepasstext.value = ''; sitepasstext.type = 'password'; } } [/CODE]

Member Avatar for digital-ether
0
105
Member Avatar for still_learning

[QUOTE=still_learning;617907]I have a javascript function and then below it I have some html. In the html I want to be able to document.write() a variable from that function above. Is this possible?? Basically if I have function x() with some variable declared inside of it, I want to be able …

Member Avatar for digital-ether
0
254
Member Avatar for dottomm

The function getvar() has the function trim(). trim() operates on a string, and thus will try to convert any parameter it receives to a string. If you therefore pass it an array, it will give you the array to string conversion error. PHP will cast types depending on the context. …

Member Avatar for dottomm
0
207
Member Avatar for Paulxh

[QUOTE=Paulxh;601000]Can a table written in HTML be floated as an element, as in image <img src=".."> I am trying to have several small blocks of text, seperated within borders that the text withing the box or group can float depending on screen size. I don't know how to do this: …

Member Avatar for Paulxh
0
107
Member Avatar for queenc

could you post some example output? as it is you're putting everything in htmlspecialchars($outtext) so it won't be formatted. To convert the formatting to HTML formatting, you'll have to know the doc formatting syntax (it's probably version dependent). Then convert each doc formatting into the equivalent HTML formatting. A program …

Member Avatar for Fred_Castro
0
109
Member Avatar for still_learning

[QUOTE=still_learning;603841]Hi, I have created a website that has a page where you can drag layers around to different areas on the page. Is there any way that I can find the new coordinates of a layer after I drag it? What I ultimately need to do is store the coordinates …

Member Avatar for still_learning
0
154
Member Avatar for billbod50

[QUOTE=billbod50;604248]hi i am very new to home hosting i have wampserver 2.0 on my computer but i dont no how to put the domain name in to the wampserver can any one give me some help or info please thanks william[/QUOTE] You really don't want to use WAMP to host …

Member Avatar for digital-ether
0
151
Member Avatar for tanha

[QUOTE=tanha;600016]Hi everybody, I am using a java script function which redirect to the page according to the given parameter, and it is working as desired in IE, but I found that it not work with Firefox browsers, so some one plz guide me how it is possible to have the …

Member Avatar for ~s.o.s~
0
121
Member Avatar for mosh

[QUOTE=mosh;603587]Hi There. ~s.o.s~ & Traicey Thank you , what ~s.o.s~ write is the nearest of what i want. all i want is to know the type of data that entered by user. for example if the user input was string , then give him a message that the type is …

Member Avatar for digital-ether
0
132
Member Avatar for ellabean

ellabean, I think in PHP.ini there is a directive that tell's PHP whether appending sessions in the URL is allowed or not. It may have been added later, or the default changed in later PHP versions. I'm just recalling from reading the php session docs, so take a look, I …

Member Avatar for digital-ether
0
104
Member Avatar for kevin wood

[QUOTE=kevin wood;592269]i have changed the code now so that it uses the path to the iage but the problem i am having now is that if the file extension is not the same then it will not overwrite the image. how can i get it to delete the image no …

Member Avatar for kevin wood
0
8K
Member Avatar for celia05es

Do you get any errors? Try wrapping your functions in [code] try { } catch(e) { alert(e); } [/code] See if IE gives errors. I know IE sucks at error reporting.

Member Avatar for digital-ether
0
164
Member Avatar for kings

[QUOTE=kings;591173]hi i have a application where i want the user to click the button only once.i want the user to have time interval(eg 5 sec,before tat if he tries to clickit should display pop -up thanks[/QUOTE] This really is a JavaScript question. Controlling user initiated Events on the browser can …

Member Avatar for queenc
0
95
Member Avatar for ebabes

Is this a an error generated by PHP? If so what the the file and line numbers?

Member Avatar for ebabes
0
94
Member Avatar for Inny

[QUOTE=Inny;589880]How can parse an img url as query string to insert an image into a window on another domain?[/QUOTE] You can't access the DOM of a window on another domain opened by your domain. This is a restriction that prevents XSS (cross/same domain policy) If you own the other domain, …

Member Avatar for Inny
0
1K
Member Avatar for jino

[QUOTE=jino;592150]Hi all, Please tell me where is the cookie file stored in my computer when i run the below codes.. I checked it in the C:\ <?php setcookie("test","john_joseph",time()+ 3600); ?> <html> <body> <form name="cookie" method="post" action="<?php echo $_server['php_self'];?>"> Enter ur name:<input type="text" name="name"> <input type="submit" name="submit" value="SUBMIT"> </form> <?php if …

Member Avatar for digital-ether
0
152
Member Avatar for Tess James

[QUOTE=tessy7;592919]can we go for ms excel for creating charts in php(with mysql) instead of using jpgraph? please tell me which is the easiest one to use 9between ms excel and jpgraph)?[/QUOTE] This really depends on what you need the charts for and how you want to generate them. If you …

Member Avatar for digital-ether
0
205
Member Avatar for kevin wood

[QUOTE=kevin wood;591549]is there a script that will load the all the page objects before the next page is connected to. i have a flash menu and i want it to load up on to the server and then not have to be reloaded every time a new page is entered/accessed.[/QUOTE] …

Member Avatar for kevin wood
0
100
Member Avatar for tejalrupera

[QUOTE=ShawnCplus;592458]... Don't close the child page before the requests are completed?[/QUOTE] lol.. [CODE]I have two pages called parent and child. child is opened from the parent page. Now when i am closing child page before all the request sent by child page are completed, my parent page's request goes to …

Member Avatar for tejalrupera
0
78
Member Avatar for thirusvga

Your file upload looks ok. You just have to let your File Upload page know that the upload was successful or not. To do this, in your PHP that handles the file upload, put in a javascript function that returns the status of the upload. ] eg: [code]<script> top.my_callback(true); </script>[/code] …

Member Avatar for thirusvga
0
176
Member Avatar for kryptolite

[QUOTE=kryptolite;592610]Hello, I am not sure this is the right place to ask or not but I find it the most relevant compared to any other subforums. I have this assignment to demonstrate simple XSS (cross site scripting). I have to craft an URL that would display a webpage, but some …

Member Avatar for digital-ether
0
82
Member Avatar for mrcniceguy

[QUOTE=mrcniceguy;591771]i served my website file in FTP(school server) but now i can not open it via my computer, When i use others computer it opens Is there anyone who nows What i can do To make it work?????????? thankx[/QUOTE] Hi, Is your website on a school server? What is the …

Member Avatar for digital-ether
0
93
Member Avatar for ryy705

[QUOTE=ryy705;591719]Hello, Is there a way to send smtp mail without messing with php.ini file? A lot of server don't seem to give access to that. Thanks in advance.[/QUOTE] You can use a PHP mailing library such as SwiftMailer, [url]http://www.swiftmailer.org/[/url]. [url]http://www.swiftmailer.org/wikidocs/v3/smtpauth[/url] Here is an example of sending email to SMTP server …

Member Avatar for digital-ether
0
715
Member Avatar for kevindougans

[QUOTE=kevindougans;590690]Hi there, Hope someone can help... I'm developing a "Startpage" for a client's customers. He wants all information relevant to his clients to be displayed on 1 web page. We have come up with [url]http://www.systemattend.com/index.php[/url] All is well until we tried logging in to Novell Groupwise. It seems it won't …

Member Avatar for digital-ether
0
206
Member Avatar for ExplainThat

[QUOTE=ExplainThat;591200]A cheatsheet covering the core features of PHP 5 is available here [URL="http://www.explainth.at/en/qr/phpqr.shtml"]PHP5 Cheatsheet[/URL] Free to print, share and enjoy.[/QUOTE] Nice. :)

Member Avatar for ExplainThat
0
64
Member Avatar for vganeshvenu

[QUOTE=vganeshvenu;591423]Please advise me how to use FLV video streaming in php and please provide me the source code.[/QUOTE] [url]http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two[/url] See that URL for an explanation and files that allow you to "stream" FLV. It would be better to use the [URL="http://osflash.org/red5"]Red5[/URL] server which is an open source Flash streaming server …

Member Avatar for digital-ether
0
103
Member Avatar for flforlife

Your select query is the problem. [QUOTE]SELECT FROM major (place,team, wl, gb, pcage, rs, ra, ags)[/QUOTE] SELECT queries have the following simplified syntax: [CODE]SELECT select_expr, ... [FROM table_references [WHERE where_condition] [ORDER BY {col_name | expr | position} [ASC | DESC], ...] [LIMIT {[offset,] row_count | row_count OFFSET offset}][/CODE] The full …

Member Avatar for digital-ether
0
125
Member Avatar for macy2323

[QUOTE=macy2323;591947]Can somebody please help me? i'm having a big problem on tables. Our client want to have a table where its columns are expandable and the headers of the table can be viewed no matter how many rows there are(you can always see the header even if you scroll down …

Member Avatar for digital-ether
0
92
Member Avatar for XtremeCamera

Hi XtremeCamera, Sorry to hear about what happened to you. :( What you describe is usually caused by JavaScript that manipulates the DOM (Document Object Module) during the window.load() event. (ie: when window.onload is fired). The Other cases I know of is when PHP or JavaScript or a combination of …

Member Avatar for peter_budo
0
184
Member Avatar for sagedavis

[QUOTE=sagedavis;570874]I am banging my head against the wall here. I've tried everything that I can think of to get this to work. .... in my index page I have the following [code] sql = "select * from tablename"; $objAdvertisers = new myData; $objAdvertisers->myStuff($sql); [/code] Using this method keeps giving me …

Member Avatar for sagedavis
0
142
Member Avatar for Diode

Like mentioned, you'll have to move the image away from the upload folder since it would be deleted otherwise (as you mentioned). [B] A bit off topic:[/B] Something to remember is that you can never rely on the user to do something for you. In this case accept or reject …

Member Avatar for digital-ether
0
265
Member Avatar for ryy705

[QUOTE=ryy705;563924]Hello, I am trying to understand html's <label> attribute. According to [URL="http://www.w3.org/TR/html4/interact/forms.html#h-17.9"]http://www.w3.org/TR/html4/interact/forms.html#h-17.9[/URL] when I am using a single label for multiple elements I should use the following format: label for = idref [CS]. From what I understand [CS] represents names of the elements that I am labeling. But what is …

Member Avatar for digital-ether
0
138
Member Avatar for Free_Man

[QUOTE=Free_Man;560812]Hi, I try to take data from mysql and insert into xls. I achieve that but I cannot sort out the char problem. Turkish characters are displayed in a weird shape in the file but everything seems fine when i display them in a web page. I tried ISO-8859-9(which is …

Member Avatar for Free_Man
0
89
Member Avatar for sDJh

[QUOTE=sDJh;560860]Hi everyone, I'm now fiddling over a week to fix a problem on my linux-webserver. I have the following code: [CODE] ... $bool=mkdir(trim($semname), 0777, TRUE); //chmod(trim($semname),0777); $f2=fopen(trim($semname)."/index.php","w"); ... [/CODE] it works perfectly when working on my home server under windows but as soon as loaded up on my linux-webserver it …

Member Avatar for sDJh
0
327

The End.