|
It seems that you don't get my question.
I mean in frontpage,
If you write text like your name on a webpage in design view and want that text when previewed in internet explorer to move up and down. Then how to do this?
|
|
|
|
|
It seems you don't my responses. Your question was a joke, so you got jokes in response. You can't do it without writing code.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Drink. Alot of drink.
Always does it for me.
Actually it's so efective it makes the entire room move up and down. And sideways too if you get it right.... Morality is indistinguishable from social proscription
|
|
|
|
|
I am working on a page with some email validation (classic asp) and I have a regex checking email addresses:
^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w][^_]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$
This worked perfectly, it allows multiple periods in the domain name, hyphens, etc. I have one issue though, I need it to allow for single-character domains (like 3.com). I am not very skilled in regex.
______________________
Oh Hamburgers!
|
|
|
|
|
See this site http://regxlib.com/
here you can find as well as test your regular expression.
!- F - R - I - E - N - D - S -!
|
|
|
|
|
Hi all.
My question to all the people involved in web developments...I am a mid level developer with equal experience in native (unmanaged) and .NET (managed) development environment using Microsoft technologies. I have also worked on windows and web environments; my question however is web related. I am in a process of developing a web-application myself. I know that ASP.NET makes it very easy to develop a website and get it up and running within no time. At least I can get a crude version very soon. However, that is not what I am looking for...I have decided the following:
Web UI : HTML/XHTML/DHTML/XML (compliance), .htc, activeX (if needed), CSS
UI logic : wt, cppCMS, other web widgets, etc.
Scripting : Java script for client side scripting, AJAX, event handling, etc.
Business logic : C++ only. I have surveyed a number of libs. However, I just do not know which is good enough to serve my needs.
What I have decided for business logic is follows:
General Logic: Threading, Collections, Regular Expressions, etc.
Security : as in encryption, user authentication and authorization...? need suggestions...ACE,LOKI,Crypto++, etc...many are there...dunt know which to use.
Web Services : gSOAP and XML...or else?
Data Access Layer or ORM: there are lot of good ones...I have looked for some of them...LibDB on SF, Hiberlite by google, wt::dbo by witty and waiting for Boost::Rdb...any suggestions?
I do not really want to use direct ODBC API
Database: MYSQL and XML is what I tentatively have decided upon...
So please let me know, where do I need to look to gain more insight as far as development technologies are concerned. As far as design is concerned, I have some knowledge to start with. But I want to clear the technology clutter first. This is keeping in mind that I have to develop a web app purely out of interest for starters. My intentions are to understand the intricacies of design and algorithms involved in development and want to make it open source, cross platform and performant (C++).
I am ready to discuss further...just waiting on a few thoughts...
Regards,
Bhushan
|
|
|
|
|
Hi, i m developing a asp.net application (c# and sql server)to manage students marks, I want know to the best practices which I can use to save the various students marks with different subjects , also I want to know the best way to design the User Interface using .net tools by which one can easily enter the marks of students according to their serial number for each of their subjects .
I want some suggestion regarding stability of database and easy interface for the user to save the marks...
If some one has done projects like this then please tell me the links and others resources which I can use...
Thanks,
|
|
|
|
|
|
Hello and good morning.
I'm working with ADO.NEt data services and I built a service for SQL. In SQL it works fine but for Oracle I can not find the provider. I made some reserch and it seems I have to get providers for oracle but they are not free. Any one knows where I can find free Oracle providers to build a data services with ADO.NET?
Thanks.
Regards Jonatan.
|
|
|
|
|
I'm pretty sure these are available for free on the Oracle[^] website or, at least they used to be. You'll have to do a search in the site as I have not used them for a few years.
|
|
|
|
|
Hi, I am back again with clarification in ajax post.
I am having a WYSIWYG (TinyMCE) editor for a description field.
I am posting it using AJAX.
Assume that the data is "lorum ispum & <p>sample text<p>"
so it will be like
var udescription = "lorum ispum&sampletextandothertext";
xmlhttp.open("POST","ajax.php?description="+udescription",true);
Obviously this will get posted as usual form the client side.
But the server parses it as
Array (
[udescription] = [lorum ispum],
[sampletextandotherext] = ''
)
that is, any letters after an ambersand is consider as a key and it searches for the '=' sign to take the value next to it...
so if i send "ajax.php?name=joe&number=989898&description=sample&one&two"
it will be like
name = joe
number = 989898
description = sample
one =
two =
So what i think is doing a base64encode here and doing a base64decode in the server side.
I have base64encode function for javascript.
Will this solution holds good or am i m i s s i n g something.
Do people have an alternate or a suggestion. Please provide any kind of info so that we forum users will update it.
How does a browser send data to the server. hope it sets the mime type to base64 and the server would check it and decode it.
The post data would be 7 bit, 8bit and base64 and then multipart data seperated by boundaries.
so we have to set a different content type or use additional methods of XMLHTTPRequest???
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
You can better use encodeURIComponent() to 'encrypt' your data. It is a build-in javascript function.
Wout Louwers
|
|
|
|
|
Oh nice, since i started using my own function i totally forgot these built in functions... thank you
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
Hey All,
I'm in the process of switching over a set of SSL certificates on a Staging setup and have run into a problem.
The services are IIS hosted WCF services exposed as ASMX services. I've gone through all the various configs and configured the new serial numbers and thumbprints. The 'main' services are all functioning fine using the new Root CA and server/client cert, however the security is in another service, in the same website and communication there is not working.
The machine itself can also browse the WSDL as does my dev machine, it requests the correct certification and displays the WSDL in both instances. But when a service attempts to call it, it fails with "Could not establish secure channel for SSL/TLS ?". I've double/triple checked the serials and thumbprints in the config files and all is well. I've compared the setup to the Live environment and all agrees with what I've done. The two systems have the same build of all the services as well, as controlled by Cruise.
I'm no expert with IIS but as far as I can tell, that's all correctly setup as well. Behaves as expected. I'm going to look at the HTTP/HTTPS setup tomorrow with httpcfg.exe to see if there is any joy there.
Any ideas or things to try would be really appreciated.
|
|
|
|
|
Hi All,
Just to let you know the solution.
The problem was the permissions on the certificate itself. Using this command fixed my particular problem:
C:\Program Files\Windows Resource Kits\Tools>WinHttpCertCfg.exe -g -c LOCAL_MACH
INE\MY -s "IssuedTo-NameOfCert" -a "NETWORK SERVICE"
Regards,
|
|
|
|
|
Hi,
I am trying to access a macro placed in office start up folder, which is a template doc (.dot). it throws error "Automation error". My request to the server is thru ASP3 and VB 6 - COM+.
Thanks,
Bad Programmer
|
|
|
|
|
hiiiiiiiiiiii
any one can tell me from where we can download flash slide make professional software full version software
please reply me as early as possible
rizvan sivally
|
|
|
|
|
sheemap wrote: any one can tell me from where we can download flash slide make professional software full version software
Yes, you could by searching Google.
MVP 2010 - are they mad?
|
|
|
|
|
Hiya everyone,
So yes, as the title states, I'm trying to protect images on a website from being downloaded directly (privacy problems).
What I've done (or am trying to do) is something like <a href='img.php?file=blah.jpg'> . However, in img.php, I don't know how to tell if the image is being requested in the actual page (index.html, lets say) with the <a> tag, or if it's requested seperately by someone who's copied that url and viewed it (in a different window, maybe). I've tried $_SERVER['REQUEST_URI'] but that returns img.php?file=blah.jpg under both circumstances.
Is there any way I can find out?
Thanks in advance. ![Smile | :)](https://www.codeproject.com/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
You could check $_SERVER['HTTP_REFERER'] - that should give you the URI of the page that referred to the image, as long as the user's browser doesn't have referrer sending switched off.
|
|
|
|
|
Why Boonex is a scam?
Boonex problem nr1. No coding standard
Boonex is writen by several people using different technologies. Its main base (Dolphin) is writen in pure php with its own template engine and forum (Orca) uses xlst. That has large negative impact to integration of forum in site and site in forum. When coding, please use single technology and template system.
Whats even worser, different parts of dolphins code itself is writen by completely different people, and very in the hurry. So everyone has its own imagination how to interact with different parts of the code. It is very tricky to modify code that way to suit site needs.
Boonex problem nr2. Template engine and separation of code/design/database
This problem in dolphin/boonex needs a point on its own. Boonex uses custom template system ( that should be called layout system). The blocks of generated html code are pased to specific places in the template. That creates a big headache for programers as they need to search through code for the place where some box is generated. It might be generated in template, or in specific function in one of numerous includes. And so on. Even pligg has better templating than this.
It is very tricky to rip boonex templating apart, as whole coding is based on such poor programming practice. They would be better off using existing template system like smarty or similar one.
This leads to problem nr3
Boonex problem nr3. Crapy use of Database
We saw serveral other competing sites launched on boonex, but we did not care much. Why? Becouse when they reach 500-1000 daily visitors they will break apart. The reason for it is very bad programming and use of database.
For example, boonex uses profile builder which assigns fields to profiles. So the output of profile uses more than one table and is quite inefficient.
Also, there is a nice 20-30 query overhead on each page display to fetch all the configuration values from table. Silly, isn’t it ? They would be FAR better of using a file for configuring sofware or caching it in php file like it is done in most of the systems.
Another simple problem. When boonex wants to display a profile being online it additionally check database for its status. But that data was pulled from database already. So 20 useless queries again.
Resume
I would not suggest using boonex if you want to keep your programmers sane. We have have changed the code almost completely for now, and you will need to do that too. Boonex is a scam. Try googling "boonex scam" first.
|
|
|
|
|
|
|
$PP=$_POST['PurchaserPrice'];
$PQ=$_POST['PurchaserQuantity'];
$PST=$_POST['PurchaserSubTotal'];
$total2=$_POST['total2'];
$id=$_REQUEST['id'];
$num=mysql_numrows($result);
$i=0;
while ($i < $num) {
$f1=mysql_result($result,$i,"item");
$f2=mysql_result($result,$i,"qty");
$f3=mysql_result($result,$i,"Price");
$f4=mysql_result($result,$i,"sub_total");
$f5=mysql_result($result,$i,"Remarks");
$f6=mysql_result($result,$i,"Approve");
echo "$remarks[i],$PP[$i],$PQ[$i],$PST[$i]";
mysql_query("UPDATE tbl_orders SET Approve='1',PurchaserRemarks='$remarks[$i]',PurchaserPrice='$PP[$i]',PurchaserQuantity='$PQ[$i]',PurchaserSubTotal='$PST[$i]',newtotal='$total2' WHERE id='$id',item='$f1',qty='$f2',Price='$f3',sub_total='$f4',Remarks='$f5'");
I have this query but It wouldn't write in the database
|
|
|
|
|