|
Just have a look in to this.
http://www.codeproject.com/useritems/Send_Inline_Image_Email.asp
Laddie
|
|
|
|
|
I'm getting two errors each and every time I use session_start():
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/www/technomatrix.net/private/swcblog/Sep2007.php:8) in /home/www/technomatrix.net/private/swcblog/login.php on line 27
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/www/technomatrix.net/private/swcblog/Sep2007.php:8) in /home/www/technomatrix.net/private/swcblog/login.php on line 27
I've tried searching on Google for solutions to this problem, most of the results I've gotten say to make sure that there is no whitespace before the session_start() . That's doesn't seem to be the problem here. I've used ob_start() and ob_end_clean() to not let the warnings show, but that STILL doesn't set the session!
Anyone out there that can help me?
(I think it has something to do with awardspace (my hosting) setting a session_start() before I do...)
Thanks in advance!
|
|
|
|
|
You can have multiple calls to session_start without problem, and it would be very unlikely your host would run some PHP code before your script.
The message is simply because something is being output before the call to session_start. The line numbers should point you in the direction of what is outputting data.
|
|
|
|
|
Hello,
I have a simple sample that demonstrates how to connect web parts with incompatible interfaces using WebPartTransformer derived class and it works as expected in ASP.NET scenario, but when I deploy the same web parts to SharePoint server, the text in connection options is correct, but the options are disabled (grayed).
Does anybody have any idea what's going on and how to make it work?
Thanks in advance.
Goran
|
|
|
|
|
I have a master page with 2 divs a LeftColumn and MainColumn. My menu control is in the LeftColumn, the static menu is the same size as the left column so my dynamic menu pops out over the main column. My problem is when the dynamic menu pops out it is behind the content in my MainColumn. How can I get this to come out in front? I know the answer is right in front of me but I seem to be missing it. Any help would be most appreciated.
|
|
|
|
|
hello,
Can you please tell me, is there any free control for Fileuploading in Asp.net Ajax with a Progressbar.
Note : progressbar shoulb be simulated with data transfered; max file upload size required is 100mb, even if i try to upload in FTP it should accept 100mb.
Regards,
Ramya
ramya
|
|
|
|
|
hi,
i need an open source for the blogs which i need to integrate into my application.
I'm working on c#.net2.0 as frontend and sqlserver2005 as backend.
I want the blogs like the myspace website has. the link for the same is given below:
http://www.myspace.com/
I should be able to set blog as private, so that only user's friends can send comments.
Do not show e-mail addresses but create a secure link so that members can message without showing thier e-mails unless they request it.
Make profiles publically visible, and that the page will not show the function buttons when publically viewed.
And some more things like this.
So i need an open source code for this.
Can somebody pls. help me.
Its urgent.......................
Thanks,
Harry
|
|
|
|
|
harryforum wrote: Its urgent.......................
Of *course* it is.
Try here[^].
I also thought MS had something.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I created this website for my dad www.prof-abbasi.com sometime back. It shows up perfectly fine in IE7. Recently, I downloaded FireFox and opened the website using it. The tabs get expanded like as if the "height" has been set to 100% although they have been set to "50".
I don't understand why this is happening. I checked the codes... all seems fine.
Please can you take a look and tell me which part is wrong?
Thanks.
Tara
Fortitudine Vincimus!
|
|
|
|
|
Basically, IE and Firefox render things differently, you need to test with both, and you need to be proactively writing code that both can render as you wish. There's lots of websites listing the things that they render differently, and workarounds.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thank you. I did a Google on the problem and found that setting the table layout to "fixed" solves the problem.
Fortitudine Vincimus!
|
|
|
|
|
Hi to all. This time I have no problem, I just want to know one thing.
So, I'm developing a web-site, which must be multi-langual.
I just want to know what would you do the multilingual support. If it matters there will me at least three different languages.
I hope, that together we will find the most suitable solution of this task.
I will appreciate every answer.
|
|
|
|
|
This question gets asked at least twice a week.
Create resource files for all strings you display on your web site. Replace resource files as appropriate with versions in whatever language you want to use.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I want to know if anyone has had any experience with creating an ASP.Net or Java Applet (but not limited to these languages) for Co-Browsing.
For anyone that does not know what co-browsing is, refer to definition below;
Collaborative browsing (also known as co-browsing) is a software-enabled technique that allows someone in an enterprise contact center to interact with a customer by using the customer's Web browser to show them something.
Does anyone know how to create a co-browsing application. I what to have a situation where someone is browsing our website, and if they need help, we can view their web session and help guide them to their solution.
Any help would be greatly appretiated.
-- modified at 19:24 Tuesday 11th September, 2007
|
|
|
|
|
Hi,
Did you find the necessary "resources" for co-browsing? I was thinking that pokein would help ... but i'm not sure how to implement that yet ...
I would appreciate any help.
Thanks!
|
|
|
|
|
Hi,
I am working on an ASP application with oracle as backend. my application was residing on windows 2000 server previously and everything was working fine then we moved our application from windows 2000 to windows 2003 server. now application is giving me few problems and one of them is a strange problem.
First i am sending some data to a procedure in the backend from my asp page and then trying to get the result returned by the procedure.
when i send the data from frontend procedure returns error message but when with the same data i directly test the procedure at backend then it gives the perfect result. I have tested the data going from frontend its going perfectly. the query at the front end if i run as it is copy paste at backend gives me the right result.
The connection string and database i am using in frontend is perfect..iam pasting the function which is calling the procedure and not giving me the desried result coming from the database.
--------------------------------------------------------------------------------------
CODE:
--------------------------------------------------------------------------------------
'Function to check if the combination of Cost Centre,
'Nominal Account is valid for a particular user
function isValidChargeAC(staffnr,cc,nom,subnom,akey)
dim strSql,rs
costcentre=trim(cc)
on error resume next
isValidChargeAC="Error: Validation could not be performed."
strSql = "Select XX_EGPO_SRO_REQ_PKG.Req_Validate('" & cstr(staffnr) & "','" & cstr(costcentre) & "','" & cstr(nom) & "','" & cstr(subnom) & "','" & cstr(akey) & "') From Dual"
Set rs=Server.CreateObject("ADODB.Recordset")
rs.Open strSql,con1,1,3
if err.number=0 then
if not rs.eof and not rs.bof then
isValidChargeAC=rs.fields(0) NOT GIVING ME DESIRED VALUE COMING FROM DATABASE
end if
end if
end function
--------------------------------------------------------------------------------------
KINDLY HELP,
THANK YOU.
AZEEM QAISER
|
|
|
|
|
Azi Qaiser wrote: when i send the data from frontend procedure returns error message
What error message?
Azi Qaiser wrote: NOT GIVING ME DESIRED VALUE COMING FROM DATABASE
In what way does the value differ from the value that you desire?
---
single minded; short sighted; long gone;
|
|
|
|
|
The error message is a custom error message written by myself ... my desried result which should come from the database is "Y" but i am getting "custom error message".
at the backend when i check the procedure it gives my "Y" that the validation is passed but when i try from front end it send custom error message which means validation fails. values i am sending while calling the procedure are prefect in terms of datatype and sequence.
|
|
|
|
|
Then you have to make a better custom error message. The one you have only tells you that the value is not the expected one, but it doesn't tell you what the problem is or what the actual value is.
---
single minded; short sighted; long gone;
|
|
|
|
|
Guffa
i think the problem is not with the code, the problem is with IIS since previously the application was hosted on Windows 2000 server/IIS 5.0/oracle9i client and since the application has been moved to windows 2003 server/IIS 6.0/Oracle 10g client.
I think the problem is IIS, it might be a possibility that the code has been dealt in diffrent way coz the same application is working perfectly fine on the previous configuration.
kindly look into this aspect and advice.
thanks.
Azeem Qaiser
|
|
|
|
|
Regardless of where the source of the problem is, your code has to produce a better error message for you to be able to find the problem. If you don't know anything about why you get an error message, you have very small chances of finding the source of the error.
Azi Qaiser wrote: I think the problem is IIS, it might be a possibility that the code has been dealt in diffrent way coz the same application is working perfectly fine on the previous configuration.
The fact that an application works without a problem doesn't guarantee that the code is correct. I have seen examples of code that has been used for years without producing errors, but stopped working because of a minor change in the environment, because the code was wrong from the beginning.
---
single minded; short sighted; long gone;
|
|
|
|
|
thanks for your reply guffa..u were right i found the error after implementing proper error reporting module.
thanks.
a small request can u please send me a code block for calling the below mentioned stored procedure which is returning ref cursor.
PROCEDURE get_fin_approvers(p_user_id IN VARCHAR2,
p_ccc IN VARCHAR2,
o_cursor1 OUT NOCOPY REF_CURSOR)
AS
v_ccc VARCHAR2(100);
v_grade VARCHAR2(10);
BEGIN
select hou.attribute1 into v_ccc from apps.hr_all_organization_unitS hou,
apps.pay_cost_allocation_keyflex pcaf
where pcaf.COST_ALLOCATION_KEYFLEX_ID = hou.COST_ALLOCATION_KEYFLEX_ID
and pcaf.segment2 = p_ccc;
select grade into v_grade from hrr_t_emp_master
where staffnr = p_user_id and term_date is null;
ekg_lp_gen.get_approvers(p_user_id => p_user_id,
p_ccc => v_ccc,
p_grade => substr(v_grade,4),
o_cursor => o_cursor1 );
END get_fin_approvers;
thanks,
azeem
|
|
|
|
|
Azi Qaiser wrote: a small request can u please send me a code block for calling the below mentioned stored procedure which is returning ref cursor.
No, I can't, at least not without doing an unreasonable amount of research. I've never called an Oracle stored procedure, and I don't know whan a ref cursor is...
---
single minded; short sighted; long gone;
|
|
|
|
|
hi,
I've a query that how can we place flowplayer.swf file in a different folder than where the flv files are placed.
I'm using this code:
<object id="FlowPlayer" type="application/x-shockwave-flash" data="FlowPlayer.swf"width="320" height="263" align="top">
<param name="movie" value="FlowPlayer.swf" />
<param name="quality" value="high" />
<param name="scale" value="noScale" />
<param name="wmode" value="transparent" />
<param name="flashvars" value="config={baseURL:'images/flv/' videoFile:'ad.flv' }" />
</object>
But it is not working. so can any body Pls. tell me how to do it?
Flowplayer.swf file is placed at root of the application.
ad.flv file is placed in the flv folder(flv folder is inside the images folder, and images folder is placed at the root of the application)
When i place ad.flv file at the rot of the application then flowplayer displayes the file but when ad.flv is placed in the imegs/flv folder then flowlayer doesn't lay that file.
It really urgent.................
I'm doing all this using c#.net2.0
Thanks,
Harry
-- modified at 2:55 Monday 10th September, 2007
|
|
|
|
|
Is it possible to play media clips on a web page by just clicking on a link without taking much time? if , then how? Please help me in this regard.
Warm Regards,
Raj
|
|
|
|